mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
chore: update
This commit is contained in:
@@ -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的订阅
|
||||||
|
|||||||
Reference in New Issue
Block a user