refactor mac service

This commit is contained in:
rustdesk
2022-01-17 12:05:06 +08:00
parent a12f24bf16
commit 5af1258454
22 changed files with 173 additions and 171 deletions

View File

@@ -366,7 +366,7 @@ impl UI {
#[cfg(target_os = "macos")]
if &key == "stop-service" {
crate::platform::macos::launch_or_stop_daemon(value != "Y");
crate::platform::macos::launch(value != "Y");
}
}