Exit in mac tray

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

No files matched your search

+1 -1
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;
}
}