An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
Some time it is RustDesk, sometimes it is rustdesk on mac, so make it case insensitive
rustdesk886fb73521fe
diff --git a/src/common.rs b/src/common.rsindex cadf7330d..011ca0524 100644--- a/src/common.rs+++ b/src/common.rs@@ -1112,6 +1112,7 @@ pub fn check_process(arg: &str, same_uid: bool) -> bool {if let Ok(linked) = path.read_link() {path = linked;}+ let path = path.to_string_lossy().to_lowercase();let my_uid = sys.process((std::process::id() as usize).into()).map(|x| x.user_id())@@ -1121,7 +1122,7 @@ pub fn check_process(arg: &str, same_uid: bool) -> bool {if let Ok(linked) = cur_path.read_link() {cur_path = linked;}- if cur_path != path {+ if cur_path.to_string_lossy().to_lowercase() != path {continue;}if p.pid().to_string() == std::process::id().to_string() {