Skip to content

Commit 7e6482f

Browse files
committed
Adjust hysteria core run arguments
#6635
1 parent a8eba93 commit 7e6482f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

v2rayN/ServiceLib/Handler/CoreInfoHandler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ private void InitCoreInfo()
129129
new CoreInfo
130130
{
131131
CoreType = ECoreType.hysteria,
132-
CoreExes = ["hysteria-windows-amd64", "hysteria"],
133-
Arguments = "-c {0}",
132+
CoreExes = ["hysteria"],
133+
Arguments = "",
134134
Url = GetCoreUrl(ECoreType.hysteria),
135135
},
136136

@@ -180,7 +180,7 @@ private void InitCoreInfo()
180180
{
181181
CoreType = ECoreType.hysteria2,
182182
CoreExes = ["hysteria-windows-amd64", "hysteria-linux-amd64", "hysteria"],
183-
Arguments = "-c {0}",
183+
Arguments = "",
184184
Url = GetCoreUrl(ECoreType.hysteria2),
185185
},
186186

0 commit comments

Comments
 (0)