feat: quiting when enable tun mode no more blocking system network (#2805)

This commit is contained in:
Tunglies
2025-02-28 23:15:03 +08:00
committed by wonfen
parent e7db13af37
commit dce1395af1
4 changed files with 15 additions and 11 deletions

View File

@@ -140,7 +140,7 @@ impl Hotkey {
"clash_mode_global" => || feat::change_clash_mode("global".into()),
"clash_mode_direct" => || feat::change_clash_mode("direct".into()),
"toggle_system_proxy" => || feat::toggle_system_proxy(),
"toggle_tun_mode" => || feat::toggle_tun_mode(),
"toggle_tun_mode" => || feat::toggle_tun_mode(None),
"quit" => || feat::quit(Some(0)),
_ => {