mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
添加链式代理下规则适配
This commit is contained in:
@@ -1034,9 +1034,9 @@ fn on_menu_event(_: &AppHandle, event: MenuEvent) {
|
||||
return;
|
||||
}
|
||||
if !is_in_lightweight_mode() {
|
||||
lightweight::entry_lightweight_mode().await;
|
||||
lightweight::entry_lightweight_mode().await; // Await async function
|
||||
} else {
|
||||
lightweight::exit_lightweight_mode().await;
|
||||
lightweight::exit_lightweight_mode().await; // Await async function
|
||||
}
|
||||
}
|
||||
"quit" => {
|
||||
|
||||
Reference in New Issue
Block a user