From 7e6482fdff53205156fc1401d6b8aea812c5ac32 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Wed, 5 Feb 2025 17:14:56 +0800 Subject: [PATCH] Adjust hysteria core run arguments https://github.com/2dust/v2rayN/issues/6635 --- v2rayN/ServiceLib/Handler/CoreInfoHandler.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v2rayN/ServiceLib/Handler/CoreInfoHandler.cs b/v2rayN/ServiceLib/Handler/CoreInfoHandler.cs index 84371e33..15f47743 100644 --- a/v2rayN/ServiceLib/Handler/CoreInfoHandler.cs +++ b/v2rayN/ServiceLib/Handler/CoreInfoHandler.cs @@ -129,8 +129,8 @@ namespace ServiceLib.Handler new CoreInfo { CoreType = ECoreType.hysteria, - CoreExes = ["hysteria-windows-amd64", "hysteria"], - Arguments = "-c {0}", + CoreExes = ["hysteria"], + Arguments = "", Url = GetCoreUrl(ECoreType.hysteria), }, @@ -180,7 +180,7 @@ namespace ServiceLib.Handler { CoreType = ECoreType.hysteria2, CoreExes = ["hysteria-windows-amd64", "hysteria-linux-amd64", "hysteria"], - Arguments = "-c {0}", + Arguments = "", Url = GetCoreUrl(ECoreType.hysteria2), },