diff --git a/src/tray.rs b/src/tray.rs index a3926d3ad..8618e0f78 100644 --- a/src/tray.rs +++ b/src/tray.rs @@ -101,10 +101,12 @@ pub fn make_tray() -> hbb_common::ResultType<()> { if let Ok(event) = menu_channel.try_recv() { if event.id == quit_i.id() { + /* failed in windows, seems no permission to check system process if !crate::check_process("--server", false) { *control_flow = ControlFlow::Exit; return; } + */ crate::platform::uninstall_service(false); } else if event.id == open_i.id() { open_func();