fix stash vmess uuid issue.

This commit is contained in:
asdlokj1qpi23
2023-12-26 11:06:01 +08:00
parent 322924f24a
commit 75023b028e
2 changed files with 5 additions and 3 deletions

View File

@@ -1070,9 +1070,11 @@ void explodeClash(Node yamlnode, std::vector<Proxy> &nodes) {
scv = safe_as<std::string>(singleproxy["skip-cert-verify"]);
switch (hash_(proxytype)) {
case "vmess"_hash:
group = V2RAY_DEFAULT_GROUP;
singleproxy["uuid"] >>= id;
if (id.length() < 36) {
break;
}
group = V2RAY_DEFAULT_GROUP;
singleproxy["alterId"] >>= aid;
singleproxy["cipher"] >>= cipher;
net = singleproxy["network"].IsDefined() ? safe_as<std::string>(singleproxy["network"]) : "tcp";

View File

@@ -1,6 +1,6 @@
#ifndef VERSION_H_INCLUDED
#define VERSION_H_INCLUDED
#define VERSION "v0.9.1"
#define VERSION "v0.9.2"
#endif // VERSION_H_INCLUDED