fix stash vmess uuid issue.

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

No files matched your search

+4 -2
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";
+1 -1
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