chore: remove useless exit codes and hooks

This commit is contained in:
huzibaca
2024-09-21 21:05:34 +08:00
parent e92074e586
commit 40ff3fd4bf
3 changed files with 0 additions and 5 deletions

View File

@@ -135,9 +135,6 @@ pub fn run() {
.expect("error while running tauri application");
app.run(|app_handle, e| match e {
tauri::RunEvent::ExitRequested { api, .. } => {
api.prevent_exit();
}
tauri::RunEvent::WindowEvent { label, event, .. } => {
if label == "main" {
match event {