Revert "chore: remove useless exit codes and hooks"

This reverts commit 40ff3fd4bf.
This commit is contained in:
huzibaca
2024-09-22 00:41:20 +08:00
parent 84fe9c84a8
commit e9721ecc4d
3 changed files with 5 additions and 0 deletions

View File

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