feat: Clear servers before updating subscription

This commit is contained in:
arm64v8a
2022-10-30 13:15:08 +09:00
parent 91f016bdb2
commit 474e33a32a
6 changed files with 34 additions and 5 deletions

View File

@@ -59,8 +59,6 @@ namespace NekoRay {
// Misc
QString log_level = "warning";
QString user_agent = "Nekoray/1.0 (Prefer Clash Format)";
bool sub_use_proxy = false;
QString test_url = "http://cp.cloudflare.com/";
int test_concurrent = 5;
int traffic_loop_interval = 500;
@@ -74,6 +72,11 @@ namespace NekoRay {
bool check_include_pre = false;
QString system_proxy_format = "";
// Subscription
QString user_agent = "Nekoray/1.0 (Prefer Clash Format)";
bool sub_use_proxy = false;
bool sub_clear = false;
// Security
bool insecure_hint = true;
bool skip_cert = false;