Adjust hysteria core run arguments

https://github.com/2dust/v2rayN/issues/6635
This commit is contained in:
2dust 2025-02-05 17:14:56 +08:00
parent a8eba93ffd
commit 7e6482fdff

View file

@ -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),
},