mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-21 22:58:42 +08:00
feat: save window size and position
This commit is contained in:
1 parent
8028e145f1
commit
038e93ea6a
4 files changed
+71
-11
No files matched your search
@@ -141,6 +141,8 @@ 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);
|
||||
|
||||
resolve::resolve_reset();
|
||||
api::process::kill_children();
|
||||
app_handle.exit(0);
|
||||
|
||||
Reference in new issue
Block a user