|
@@ -33,9 +33,14 @@ namespace Shadowsocks.Controller |
|
|
{
|
|
|
{
|
|
|
string pacUrl;
|
|
|
string pacUrl;
|
|
|
if (config.useOnlinePac && !config.pacUrl.IsNullOrEmpty())
|
|
|
if (config.useOnlinePac && !config.pacUrl.IsNullOrEmpty())
|
|
|
|
|
|
{
|
|
|
pacUrl = config.pacUrl;
|
|
|
pacUrl = config.pacUrl;
|
|
|
|
|
|
}
|
|
|
else
|
|
|
else
|
|
|
pacUrl = $"http://127.0.0.1:{config.localPort}/pac?t={GetTimestamp(DateTime.Now)}{pacSrv.PacSecret}";
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
pacUrl =
|
|
|
|
|
|
$"http://127.0.0.1:{config.localPort}/pac?t={GetTimestamp(DateTime.Now)}{pacSrv.PacSecret}";
|
|
|
|
|
|
}
|
|
|
Sysproxy.SetIEProxy(true, false, "", pacUrl);
|
|
|
Sysproxy.SetIEProxy(true, false, "", pacUrl);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|