Support hysteria2

This commit is contained in:
arm64v8a
2023-09-06 18:45:20 +09:00
parent 9efde1a59e
commit 29c618581e
12 changed files with 109 additions and 98 deletions

View File

@@ -202,7 +202,7 @@ namespace NekoGui_fmt {
if (authPayloadType == hysteria_auth_string) outbound["auth_str"] = authPayload;
} else if (proxy_type == proxy_Hysteria2) {
outbound["type"] = "hysteria2";
outbound["password"] = authPayload;
outbound["password"] = password;
outbound["up_mbps"] = uploadMbps;
outbound["down_mbps"] = downloadMbps;
if (!obfsPassword.isEmpty()) {