From b1d4911576b333369f0990e1e529c4c86add8de1 Mon Sep 17 00:00:00 2001 From: H1JK Date: Fri, 3 Jun 2022 05:23:26 +0000 Subject: [PATCH] Fix V2RayController --- Netch/Servers/V2ray/V2rayController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netch/Servers/V2ray/V2rayController.cs b/Netch/Servers/V2ray/V2rayController.cs index 10d5288c..60851c71 100644 --- a/Netch/Servers/V2ray/V2rayController.cs +++ b/Netch/Servers/V2ray/V2rayController.cs @@ -31,7 +31,7 @@ public class V2rayController : Guard, IServerController await JsonSerializer.SerializeAsync(fileStream, await V2rayConfigUtils.GenerateClientConfigAsync(s), Global.NewCustomJsonSerializerOptions()); } - await StartGuardAsync("-config ..\\data\\last.json"); + await StartGuardAsync("run -c ..\\data\\last.json"); return new Socks5Server(IPAddress.Loopback.ToString(), this.Socks5LocalPort(), s.Hostname); } } \ No newline at end of file