Fix after generating a Clash Proxy Provider, the cached Clash base will be broken

This commit is contained in:
Tindy X committed 2020-02-06 16:44:12 +08:00
1 parent cb3ad69803
commit 5b5ae714f7
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -675,7 +675,7 @@ void netchToClash(std::vector<nodeInfo> &nodes, YAML::Node &yamlnode, string_arr
{
YAML::Node provider;
provider["proxies"] = proxies;
yamlnode = provider;
yamlnode.reset(provider);
return;
}