mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-01 10:05:00 +03:00
Bug fix system proxy for macos
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
lstCmd.Add(new CmdItem()
|
lstCmd.Add(new CmdItem()
|
||||||
{
|
{
|
||||||
Cmd = "networksetup",
|
Cmd = "networksetup",
|
||||||
Arguments = [$"-{type}", interf, host, (type.Contains("socks") ? (port - 1) : port).ToString()]
|
Arguments = [$"-{type}", interf, host, port.ToString()]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (exceptions.IsNotEmpty())
|
if (exceptions.IsNotEmpty())
|
||||||
|
|||||||
Reference in New Issue
Block a user