mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-21 17:38:42 +08:00
fix: save window size and pos in Windows
This commit is contained in:
1 parent
038e93ea6a
commit
cfce6d548b
3 files changed
+11
-7
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user