mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-11-01 14:22:32 +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;
|
string_array vArray, remarks_list, filtered_nodelist;
|
||||||
|
|
||||||
ini.store_any_line = true;
|
ini.store_any_line = true;
|
||||||
if(ini.Parse(base_conf) != 0)
|
if(ini.Parse(base_conf) != 0 && !ext.nodelist)
|
||||||
return std::string();
|
return std::string();
|
||||||
|
|
||||||
ini.SetCurrentSection("Proxy");
|
ini.SetCurrentSection("Proxy");
|
||||||
|
|||||||
Reference in New Issue
Block a user