mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-29 12:52:37 +00:00
Enhancements
Fix support for parsing keyword type in Clash domain rule-provider. Fix potential error on reading configuration files. Fix not processing remarks with comma when exporting some subscriptions. Add geoip as script function. Add support for using script to rename nodes and add Emojis to remarks.
This commit is contained in:
@@ -48,6 +48,8 @@ node_pref:
|
||||
clash_use_new_field_name: true
|
||||
rename_node:
|
||||
# - {match: "\\(?((x|X)?(\\d+)(\\.?\\d+)?)((\\s?倍率?)|(x|X))\\)?", replace: "$1x"}
|
||||
# - {script: "function rename(node){}"}
|
||||
# - {script: "path:/path/to/script.js"}
|
||||
- {import: snippets/rename_node.txt}
|
||||
|
||||
managed_config:
|
||||
@@ -65,6 +67,8 @@ emojis:
|
||||
remove_old_emoji: true
|
||||
rules:
|
||||
# - {match: "(流量|时间|应急)", emoji: "🏳️🌈"}
|
||||
# - {script: "function getEmoji(node){}"}
|
||||
# - {script: "path:/path/to/script.js"}
|
||||
- {import: snippets/emoji.txt}
|
||||
|
||||
rulesets:
|
||||
|
||||
Reference in New Issue
Block a user