Bug fix system proxy for macos

pull/6316/head
2dust 2024-12-19 13:20:12 +08:00
parent 2cd2e8894d
commit 85cb1d1c92
1 changed files with 1 additions and 1 deletions

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())