mainly for mac, if somehow --server not killed
This commit is contained in:
parent
0e6d368970
commit
85c149d8e4
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue