mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 01:33:04 +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
|
else
|
||||||
base_content = webGet(ext_surfboard_base, getSystemProxy());
|
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")
|
if(upload == "true")
|
||||||
uploadGist("surfboard", upload_path, output_content, 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)
|
else if(x.linkType == SPEEDTEST_MESSAGE_FOUNDVMESS)
|
||||||
{
|
{
|
||||||
if(surge_ver < 4)
|
if(surge_ver < 4 && surge_ver != -3)
|
||||||
continue;
|
continue;
|
||||||
id = GetMember(json, "UserID");
|
id = GetMember(json, "UserID");
|
||||||
aid = GetMember(json, "AlterID");
|
aid = GetMember(json, "AlterID");
|
||||||
|
|||||||
Reference in new issue
Block a user