mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 12:45:41 +08:00
fix: Stop core before install update
This commit is contained in:
1 parent
0a5ec11b1b
commit
feac8085c9
2 files changed
+9
-2
No files matched your search
@@ -105,6 +105,10 @@ fn main() -> std::io::Result<()> {
|
||||
api::process::kill_children();
|
||||
app_handle.exit(0);
|
||||
}
|
||||
tauri::RunEvent::Updater(tauri::UpdaterEvent::Downloaded) => {
|
||||
resolve::resolve_reset();
|
||||
api::process::kill_children();
|
||||
}
|
||||
#[cfg(target_os = "macos")]
|
||||
tauri::RunEvent::WindowEvent { label, event, .. } => {
|
||||
use tauri::Manager;
|
||||
|
||||
Reference in new issue
Block a user