mirror of https://github.com/2dust/v2rayN
Bug fix for ProxySettingOSX
parent
3edaac5739
commit
72ff947d95
|
@ -28,11 +28,11 @@ namespace ServiceLib.Handler.SysProxy
|
||||||
{
|
{
|
||||||
var contents = EmbedUtils.GetEmbedText(Global.ProxySetOSXShellFileName);
|
var contents = EmbedUtils.GetEmbedText(Global.ProxySetOSXShellFileName);
|
||||||
await File.AppendAllTextAsync(fileName, contents);
|
await File.AppendAllTextAsync(fileName, contents);
|
||||||
|
|
||||||
|
await Utils.SetLinuxChmod(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
await Utils.SetLinuxChmod(fileName);
|
await Utils.GetCliWrapOutput(fileName, args);
|
||||||
|
|
||||||
await Utils.GetCliWrapOutput(Global.LinuxBash, args);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue