rustdesk committed 2024-03-27 00:38:13 +08:00
1 parent 81aec8402b
commit 85f387bfb9
8 files changed
+20 -13

No files matched your search

+1 -1
View File
@@ -2302,7 +2302,7 @@ impl Drop for WakeLock {
}
}
pub fn uninstall_service(show_new_window: bool) -> bool {
pub fn uninstall_service(show_new_window: bool, _: bool) -> bool {
log::info!("Uninstalling service...");
let filter = format!(" /FI \"PID ne {}\"", get_current_pid());
Config::set_option("stop-service".into(), "Y".into());