mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
fix: windows cannot save window state
This commit is contained in:
@@ -124,6 +124,7 @@ pub fn quit(code: Option<i32>) {
|
||||
resolve::restore_public_dns().await;
|
||||
});
|
||||
|
||||
log_err!(app_handle.save_window_state(StateFlags::default()));
|
||||
app_handle.exit(code.unwrap_or(0));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user