Browse Source

change PAC URL only when SystemProxy.Update

tags/4.1.9.0
Student Main 5 years ago
parent
commit
fb4f7ea2eb
2 changed files with 1 additions and 1 deletions
  1. +0
    -1
      shadowsocks-csharp/Controller/ShadowsocksController.cs
  2. +1
    -0
      shadowsocks-csharp/Controller/System/SystemProxy.cs

+ 0
- 1
shadowsocks-csharp/Controller/ShadowsocksController.cs View File

@@ -482,7 +482,6 @@ namespace Shadowsocks.Controller
_pacServer = new PACServer(_pacDaemon);
}
_pacServer.UpdatePACURL(_config);
if (gfwListUpdater == null)
{
gfwListUpdater = new GFWListUpdater();


+ 1
- 0
shadowsocks-csharp/Controller/System/SystemProxy.cs View File

@@ -39,6 +39,7 @@ namespace Shadowsocks.Controller
}
else
{
pacSrv.UpdatePACURL(config);
pacUrl = pacSrv.PacUrl;
}
Sysproxy.SetIEProxy(true, false, null, pacUrl);


Loading…
Cancel
Save