Add auth-str for export Clash.

This commit is contained in:
asdlokj1qpi23
2023-12-22 10:23:44 +08:00
parent f4de5097a6
commit 0672bd11cd

View File

@@ -436,6 +436,7 @@ proxyToClash(std::vector<Proxy> &nodes, YAML::Node &yamlnode, const ProxyGroupCo
case ProxyType::Hysteria:
singleproxy["type"] = "hysteria";
singleproxy["auth_str"] = x.Auth;
singleproxy["auth-str"] = x.Auth;
singleproxy["up"] = x.UpMbps;
singleproxy["down"] = x.DownMbps;
if (!tfo.is_undef())