mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Bug fixes
Fix missing setting in pref.yml. Optimize codes.
This commit is contained in:
2 files changed
+3
-1
No files matched your search
@@ -29,6 +29,7 @@ node_pref:
|
|||||||
tcp_fast_open_flag: false
|
tcp_fast_open_flag: false
|
||||||
sort_flag: false
|
sort_flag: false
|
||||||
skip_cert_verify_flag: false
|
skip_cert_verify_flag: false
|
||||||
|
filter_deprecated_nodes: false
|
||||||
rename_node:
|
rename_node:
|
||||||
# - {match: "\\(?((x|X)?(\\d+)(\\.?\\d+)?)((\\s?倍率?)|(x|X))\\)?", replace: "$1x"}
|
# - {match: "\\(?((x|X)?(\\d+)(\\.?\\d+)?)((\\s?倍率?)|(x|X))\\)?", replace: "$1x"}
|
||||||
- {import: snippets/rename_node.txt}
|
- {import: snippets/rename_node.txt}
|
||||||
|
|||||||
+2
-1
@@ -402,6 +402,7 @@ void readYAMLConf(YAML::Node &node)
|
|||||||
section["tcp_fast_open_flag"] >> tfo_flag;
|
section["tcp_fast_open_flag"] >> tfo_flag;
|
||||||
section["sort_flag"] >> do_sort;
|
section["sort_flag"] >> do_sort;
|
||||||
section["skip_cert_verify_flag"] >> scv_flag;
|
section["skip_cert_verify_flag"] >> scv_flag;
|
||||||
|
section["filter_deprecated_nodes"] >> filter_deprecated;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(section["rename_node"].IsSequence())
|
if(section["rename_node"].IsSequence())
|
||||||
@@ -1194,7 +1195,7 @@ std::string simpleToClashR(RESPONSE_CALLBACK_ARGS)
|
|||||||
refreshRulesets(rulesets, ruleset_content_array);
|
refreshRulesets(rulesets, ruleset_content_array);
|
||||||
rca = ruleset_content_array;
|
rca = ruleset_content_array;
|
||||||
|
|
||||||
extra_settings ext = {true, overwrite_original_rules, safe_get_renames(), safe_get_emojis(), add_emoji, remove_old_emoji, append_proxy_type, udp_flag, tfo_flag, false, do_sort, scv_flag, filter_deprecated, ""};
|
extra_settings ext = {true, overwrite_original_rules, safe_get_renames(), safe_get_emojis(), add_emoji, remove_old_emoji, append_proxy_type, udp_flag, tfo_flag, false, do_sort, scv_flag, filter_deprecated, "", ""};
|
||||||
|
|
||||||
std::string proxy;
|
std::string proxy;
|
||||||
if(proxy_subscription == "SYSTEM")
|
if(proxy_subscription == "SYSTEM")
|
||||||
|
|||||||
Reference in new issue
Block a user