chore: remove useless exit codes

This commit is contained in:
huzibaca
2024-09-25 11:47:01 +08:00
parent 54296ba84a
commit d1eeeab7b1
5 changed files with 15 additions and 9 deletions

View File

@@ -431,7 +431,7 @@ fn on_menu_event(app_handle: &AppHandle, event: MenuEvent) {
"restart_app" => tauri::process::restart(&app_handle.env()),
"quit" => {
println!("quit");
feat::quit();
feat::quit(Some(0));
}
_ => {}
}