Exit in mac tray

This commit is contained in:
rustdesk
2023-02-23 20:01:50 +08:00
parent fdc04266f6
commit bb26ba3384
3 changed files with 38 additions and 13 deletions

View File

@@ -295,7 +295,7 @@ pub fn set_option(key: String, value: String) {
#[cfg(target_os = "macos")]
if &key == "stop-service" {
let is_stop = value == "Y";
if is_stop && crate::platform::macos::uninstall() {
if is_stop && crate::platform::macos::uninstall(true) {
return;
}
}