Add fallback support for different names of Shadowsocks plugins

Fix compatibility problem with some non-standard v2rayN subscription.
Fix running program from directory other than program folder may cause not using pref.yml as default.
Optimize codes.
This commit is contained in:
Tindy X committed 2020-07-14 03:04:48 +08:00
1 parent 447f6801d5
commit 3989b7ee5e
5 files changed
+22 -4

No files matched your search

+1
View File
@@ -85,6 +85,7 @@ void explodeVmess(std::string vmess, const std::string &custom_port, nodeInfo &n
break;
}
add = trim(add);
node.linkType = SPEEDTEST_MESSAGE_FOUNDVMESS;
node.group = V2RAY_DEFAULT_GROUP;
node.remarks = ps;