mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 12:29:04 +08:00
mainly for mac, if somehow --server not killed
This commit is contained in:
parent
0e6d368970
commit
85c149d8e4
@ -107,7 +107,9 @@ pub fn make_tray() -> hbb_common::ResultType<()> {
|
||||
return;
|
||||
}
|
||||
*/
|
||||
crate::platform::uninstall_service(false);
|
||||
if !crate::platform::uninstall_service(false) {
|
||||
*control_flow = ControlFlow::Exit;
|
||||
}
|
||||
} else if event.id == open_i.id() {
|
||||
open_func();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user