mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 13:13:45 +08:00
chore: update
This commit is contained in:
parent
0a8be603c8
commit
de507f7ec9
@ -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的订阅
|
||||||
|
Loading…
x
Reference in New Issue
Block a user