mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
Revert "chore: remove useless exit codes and hooks"
This reverts commit d9671faca7.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
_ => {}
|
||||
|
||||
Reference in New Issue
Block a user