From 488c2c762d342b771dfebcfedcec3a68a7c125aa Mon Sep 17 00:00:00 2001 From: Chi Lei <9316590+lychichem@users.noreply.github.com> Date: Wed, 7 Sep 2022 20:05:27 +0800 Subject: [PATCH] Update LazyConfig.cs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 适配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