Revert "Fix missing hysteria2 arguments (#7673)"
Some checks are pending
release Linux / build (Release) (push) Waiting to run
release macOS / build (Release) (push) Waiting to run
release Windows desktop (Avalonia UI) / build (Release) (push) Waiting to run
release Windows / build (Release) (push) Waiting to run

This reverts commit 3f79df21d9.
This commit is contained in:
2dust 2025-08-01 12:16:19 +08:00
parent 1d1f5641eb
commit 6fa5ca5aa9

View file

@ -130,7 +130,7 @@ public sealed class CoreInfoHandler
{ {
CoreType = ECoreType.hysteria, CoreType = ECoreType.hysteria,
CoreExes = ["hysteria"], CoreExes = ["hysteria"],
Arguments = "-c {0}", Arguments = "",
Url = GetCoreUrl(ECoreType.hysteria), Url = GetCoreUrl(ECoreType.hysteria),
}, },
@ -180,7 +180,7 @@ public sealed class CoreInfoHandler
{ {
CoreType = ECoreType.hysteria2, CoreType = ECoreType.hysteria2,
CoreExes = ["hysteria-windows-amd64", "hysteria-linux-amd64", "hysteria"], CoreExes = ["hysteria-windows-amd64", "hysteria-linux-amd64", "hysteria"],
Arguments = "-c {0}", Arguments = "",
Url = GetCoreUrl(ECoreType.hysteria2), Url = GetCoreUrl(ECoreType.hysteria2),
}, },