mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
fix: init system proxy correctly
This commit is contained in:
parent
eea9cb7c5b
commit
acff6d0432
|
@ -75,7 +75,7 @@ impl Sysopt {
|
|||
|
||||
/// update the system proxy
|
||||
pub fn update_sysproxy(&mut self) -> Result<()> {
|
||||
if self.cur_sysproxy.is_none() {
|
||||
if self.cur_sysproxy.is_none() || self.old_sysproxy.is_none() {
|
||||
return self.init_sysproxy();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user