chore: update

This commit is contained in:
huzibaca 2024-09-26 19:23:16 +08:00
parent 053754fea8
commit 5b822d238d
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -100,10 +100,8 @@ pub fn toggle_tun_mode() {
pub fn quit(code: Option<i32>) { pub fn quit(code: Option<i32>) {
let app_handle = handle::Handle::global().app_handle().unwrap(); let app_handle = handle::Handle::global().app_handle().unwrap();
let _ = resolve::save_window_size_position(true);
resolve::resolve_reset(); resolve::resolve_reset();
app_handle.exit(code.unwrap_or(0)); app_handle.exit(code.unwrap_or(0));
//std::process::exit(0);
} }
/// 修改clash的订阅 /// 修改clash的订阅