mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-01 17:25:02 +00:00
Add support for adding VMess nodes to Surfboard configurations
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1060,7 +1060,7 @@ std::string subconverter(RESPONSE_CALLBACK_ARGS)
|
||||
else
|
||||
base_content = webGet(ext_surfboard_base, getSystemProxy());
|
||||
|
||||
output_content = netchToSurge(nodes, base_content, rca, extra_group, 2, ext);
|
||||
output_content = netchToSurge(nodes, base_content, rca, extra_group, -3, ext);
|
||||
if(upload == "true")
|
||||
uploadGist("surfboard", upload_path, output_content, true);
|
||||
|
||||
|
||||
+1
-1
@@ -880,7 +880,7 @@ std::string netchToSurge(std::vector<nodeInfo> &nodes, std::string &base_conf, s
|
||||
}
|
||||
else if(x.linkType == SPEEDTEST_MESSAGE_FOUNDVMESS)
|
||||
{
|
||||
if(surge_ver < 4)
|
||||
if(surge_ver < 4 && surge_ver != -3)
|
||||
continue;
|
||||
id = GetMember(json, "UserID");
|
||||
aid = GetMember(json, "AlterID");
|
||||
|
||||
Reference in new issue
Block a user