mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Enhancements
Change section and key names in configuration files. Add support for using Quantumult X rulesets/Clash rule-providers as rule sources. Optimize codes.
This commit is contained in:
18 files changed
+475
-201
No files matched your search
+1
-1
@@ -76,7 +76,7 @@ std::shared_future<std::string> fetchFileAsync(const std::string &path, const st
|
||||
std::shared_future<std::string> retVal;
|
||||
if(fileExist(path))
|
||||
retVal = std::async(std::launch::async, [path](){return fileGet(path, true);});
|
||||
else if(startsWith(path, "https://") || startsWith(path, "http://") || startsWith(path, "data:"))
|
||||
else if(isLink(path))
|
||||
retVal = std::async(std::launch::async, [path, proxy, cache_ttl](){return webGet(path, proxy, cache_ttl);});
|
||||
else
|
||||
return std::async(std::launch::async, [](){return std::string();});
|
||||
|
||||
Reference in new issue
Block a user