Bug fixes

Fix compile error on MacOS.
Speed up generation of Clash configuration.
This commit is contained in:
Tindy X committed 2019-12-03 21:36:49 +08:00
1 parent 1052fb3194
commit 4057d7e216
4 files changed
+3 -9

No files matched your search

+1 -1
View File
@@ -585,7 +585,7 @@ std::string netchToClash(std::vector<nodeInfo> &nodes, std::string &base_conf, s
rulesetToClash(yamlnode, ruleset_content_array);
return to_string(yamlnode);
return YAML::Dump(yamlnode);
}
std::string netchToSurge(std::vector<nodeInfo> &nodes, std::string &base_conf, std::vector<ruleset_content> &ruleset_content_array, string_array &extra_proxy_group, int surge_ver, extra_settings &ext)