From d2a7b852365c154e25ecac932ac3c548c937f0c0 Mon Sep 17 00:00:00 2001 From: Chi Lei <9316590+lychichem@users.noreply.github.com> Date: Sun, 4 Sep 2022 22:11:07 +0800 Subject: [PATCH] Update LazyConfig.cs For v2fly core v5 --- v2rayN/v2rayN/Handler/LazyConfig.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v2rayN/v2rayN/Handler/LazyConfig.cs b/v2rayN/v2rayN/Handler/LazyConfig.cs index 33f9ee37..51fa9be9 100644 --- a/v2rayN/v2rayN/Handler/LazyConfig.cs +++ b/v2rayN/v2rayN/Handler/LazyConfig.cs @@ -80,14 +80,14 @@ namespace v2rayN.Handler coreInfos.Add(new CoreInfo { coreType = ECoreType.v2fly, - coreExes = new List { "wv2ray", "v2ray" }, - arguments = "", + coreExes = new List { "v2ray" }, + arguments = "run", coreUrl = Global.v2flyCoreUrl, coreReleaseApiUrl = Global.v2flyCoreUrl.Replace(@"https://github.com", @"https://api.github.com/repos"), coreDownloadUrl32 = Global.v2flyCoreUrl + "/download/{0}/v2ray-windows-{1}.zip", coreDownloadUrl64 = Global.v2flyCoreUrl + "/download/{0}/v2ray-windows-{1}.zip", match = "V2Ray", - versionArg = "-version" + versionArg = "version" }); coreInfos.Add(new CoreInfo