Replies: 1 comment 2 replies
-
Alt + F4 should trigger CloseRequested & Destroyed and ExitRequested & Exit just fine. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
tauri::Builder::default()
.on_window_event(|event| match event.event() {
WindowEvent::Destroyed => {
Command::new("killall")
.arg("node");
}
_ => {}
})
I tried to run command to terminate all node processes when user quit with CMD + Q but this is failed.
What are the ways to do this? Much appreciate your help.
Beta Was this translation helpful? Give feedback.
All reactions