From 1b8dbbeac9038d825c089e03ba2ab2f85a15012b Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Sun, 12 Sep 2021 17:53:45 +0800 Subject: [PATCH] https://github.com/rustdesk/rustdesk/issues/226 --- src/ui.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui.rs b/src/ui.rs index 5c4085970..ca6fbd950 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -488,6 +488,8 @@ impl UI { fn modify_default_login(&mut self) -> String { #[cfg(target_os = "linux")] return crate::platform::linux::modify_default_login(); + #[cfg(not(target_os = "linux"))] + return "".to_owned(); } fn get_software_update_url(&self) -> String {