mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-21 08:08:43 +08:00
fix: reset proxy
This commit is contained in:
1 parent
1eecf26429
commit
189b17ad8f
1 file changed
+1
-1
@@ -114,7 +114,7 @@ impl Sysopt {
|
||||
}
|
||||
|
||||
old.set_system_proxy()?;
|
||||
} else if let Some(mut cur) = cur {
|
||||
} else if let Some(mut cur @ Sysproxy { enable: true, .. }) = cur {
|
||||
// 没有原代理,就按现在的代理设置disable即可
|
||||
log::info!(target: "app", "reset proxy by disabling the current proxy");
|
||||
cur.enable = false;
|
||||
|
||||
Reference in new issue
Block a user