Enhancements

Add support for exporting Loon configurations.
Add remark option support for HTTP single link.
Optimize codes.
This commit is contained in:
Tindy X
2020-02-21 17:01:58 +08:00
parent c6920fbbc3
commit b4e18e831b
8 changed files with 281 additions and 9 deletions

View File

@@ -36,6 +36,9 @@ quan_rule_base=base/quan.conf
;Quantumult X config base used by the generator, supports local files/URL
quanx_rule_base=base/quanx.conf
;Loon config base used by the generator, supports local files/URL
loon_rule_base=loon.conf
;Proxy used to download configs, rulesets or subscriptions, set to NONE or empty to disable it, set to SYSTEM to use system proxy.
;Accept cURL-supported proxies (http:// https:// socks4a:// socks5://)
proxy_config=SYSTEM
@@ -80,13 +83,13 @@ rename_node=!!import:snippets/rename_node.txt
write_managed_config=true
;Address prefix for MANAGED-CONFIG info, without the trailing "/".
;This address will also be used for generating /getruleset addresses.
;This address will also be used for generating /getruleset, /qx-rewrite, /qx-script addresses.
managed_config_prefix=http://127.0.0.1:25500
;Managed config update interval, determine how long the config will be updated.
;Managed config update interval in seconds, determine how long the config will be updated.
config_update_interval=86400
;If config_update_struct is true, Surge will require a force update after the interval.
;If config_update_struct is set to true, Surge will require a force update after the interval.
config_update_struct=false
;Device ID to be written to rewrite scripts for some version of Quantumult X