Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

0.6.4 #38

Merged
merged 12 commits into from
Sep 5, 2022
Prev Previous commit
Next Next commit
Remove old menu handler in main.rs
  • Loading branch information
Bwc9876 authored Aug 26, 2022
commit 819db4b36506b60a318a84fb9855c7fd979de9a7
8 changes: 0 additions & 8 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@ fn main() {
commands::delete_dir,
commands::delete_file,
commands::run_game,])
.on_menu_event(|event| {
match event.menu_item_id() {
"quit" => {
std::process::exit(0);
}
_ => {}
}
})
.run(context)
.expect("error while running tauri application");
}