mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-01 17:25:02 +00:00
Enhancements
Fix a potential bug which will cause SSD subscription to be ignored. Add experimental Surge subscription output. Change the default generate options. Update build scripts.
This commit is contained in:
8 files changed
+358
-35
No files matched your search
+5
-5
@@ -1486,9 +1486,10 @@ void explodeSub(std::string sub, bool sslibev, bool ssrlibev, std::string custom
|
||||
std::string strLink;
|
||||
nodeInfo node;
|
||||
|
||||
//try to parse as surge configuration
|
||||
if(explodeSurge(sub, custom_port, local_port, nodes, sslibev))
|
||||
//try to parse as SSD configuration
|
||||
if(strFind(sub, "ssd://"))
|
||||
{
|
||||
explodeSSD(sub, sslibev, custom_port, local_port, nodes);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1510,10 +1511,9 @@ void explodeSub(std::string sub, bool sslibev, bool ssrlibev, std::string custom
|
||||
//ignore
|
||||
}
|
||||
|
||||
//try to parse as SSD configuration
|
||||
if(strFind(sub, "ssd://"))
|
||||
//try to parse as surge configuration
|
||||
if(explodeSurge(sub, custom_port, local_port, nodes, sslibev))
|
||||
{
|
||||
explodeSSD(sub, sslibev, custom_port, local_port, nodes);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user