mirror of
https://github.com/netchx/netch.git
synced 2026-04-27 21:49:36 +08:00
只有模式4(系统代理模式)设置系统代理
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Netch.Controllers
|
||||
pPrivoxyController.Start(server, mode);
|
||||
}
|
||||
|
||||
if (mode.Type != 5) NativeMethods.SetGlobal($"127.0.0.1:{Global.Settings.HTTPLocalPort}", "<local>");
|
||||
if (mode.Type == 3) NativeMethods.SetGlobal($"127.0.0.1:{Global.Settings.HTTPLocalPort}", "<local>");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user