rustdesk
2024-03-27 00:38:13 +08:00
parent 81aec8402b
commit 85f387bfb9
8 changed files with 20 additions and 13 deletions

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());