Bug fix system proxy for macos

This commit is contained in:
2dust 2024-12-19 13:20:12 +08:00
parent 2cd2e8894d
commit 85cb1d1c92

View file

@ -52,7 +52,7 @@
lstCmd.Add(new CmdItem()
{
Cmd = "networksetup",
Arguments = [$"-{type}", interf, host, (type.Contains("socks") ? (port - 1) : port).ToString()]
Arguments = [$"-{type}", interf, host, port.ToString()]
});
}
if (exceptions.IsNotEmpty())