🐛 debug windows

This commit is contained in:
Tw93
2024-12-21 22:43:08 +08:00
parent 66616ff23c
commit 28c9d9010d
2 changed files with 3 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ pub fn set_system_tray(app: &AppHandle) -> tauri::Result<()> {
}
"quit" => {
let _res = app.save_window_state(StateFlags::all());
app.get_webview_window("pake").unwrap().close().unwrap();
std::process::exit(0);
}
_ => (),
})