mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-29 21:03:00 +00:00
Fix a bug that will cause Surge Node List unable to be generated
This commit is contained in:
@@ -818,7 +818,7 @@ std::string netchToSurge(std::vector<nodeInfo> &nodes, std::string &base_conf, s
|
||||
string_array vArray, remarks_list, filtered_nodelist;
|
||||
|
||||
ini.store_any_line = true;
|
||||
if(ini.Parse(base_conf) != 0)
|
||||
if(ini.Parse(base_conf) != 0 && !ext.nodelist)
|
||||
return std::string();
|
||||
|
||||
ini.SetCurrentSection("Proxy");
|
||||
|
||||
Reference in New Issue
Block a user