Fix icon-url not correctly appended to generated Surge configs

This commit is contained in:
Tindy X 2025-05-25 15:32:13 +08:00
parent 82f3467e9c
commit 8e042ae6f1
No known key found for this signature in database
GPG Key ID: 7FA1E66774759718

View File

@ -1051,7 +1051,7 @@ std::string proxyToSurge(std::vector<Proxy> &nodes, const std::string &base_conf
{
std::string content = trim(vArray[vArray.size() - 1]);
if(content.find("icon-url") == 0)
group += content;
group += "," + content;
}
}