fix(single-instance): unconventional dbus names (fixes #3184) (#3194)

Co-authored-by: FabianLars <github@fabianlars.de>
Co-authored-by: Amr Bashir <github@amrbashir.me>
This commit is contained in:
Demir Yerli
2026-02-04 01:36:48 +03:00
committed by GitHub
parent 50b159f668
commit 98e2c11eef
9 changed files with 114 additions and 51 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
/// Takes a version and spits out a String with trailing _x, thus only considering the digits
/// relevant regarding semver compatibility
pub fn semver_compat_string(version: semver::Version) -> String {
pub fn semver_compat_string(version: &semver::Version) -> String {
// for pre-release always treat each version separately
if !version.pre.is_empty() {
return version.to_string().replace(['.', '-'], "_");