fix: save window size and pos in Windows

This commit is contained in:
GyDi committed 2023-07-22 13:13:16 +08:00
1 parent 038e93ea6a
commit cfce6d548b
3 files changed
+11 -7

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ impl Tray {
"restart_clash" => feat::restart_clash_core(),
"restart_app" => api::process::restart(&app_handle.env()),
"quit" => {
let _ = resolve::save_window_size_position(app_handle);
let _ = resolve::save_window_size_position(app_handle, true);
resolve::resolve_reset();
api::process::kill_children();