From b48ab05e58d185ff3edf2a1a0a945dbaf8a42e19 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Thu, 20 Nov 2025 15:40:07 +0800 Subject: [PATCH] Add 'Domestic' proxy group and update related rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduces a new 'Domestic' proxy group with relevant proxies and icon. Updates rules to use 'Domestic' instead of 'Chinese Mainland 🇨🇳' for direct and cncider rules, improving clarity and maintainability. --- META.js | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/META.js b/META.js index 1b28976..56c55d0 100644 --- a/META.js +++ b/META.js @@ -431,6 +431,19 @@ const proxyGroups = [ }, ...generateStaticProxyGroups(proxyGroupDefaults), ...generateServiceProxyGroups(services, proxyGroupDefaults), + { + ...proxyGroupDefaults, + name: "Domestic", + type: "select", + proxies: [ + "Chinese Mainland 🇨🇳", + "PROXY", + ...staticProxyNames, + "AUTO", + ...locations.map(({ name }) => name), + ], + icon: `${BASE_ICON_SET_URL}Domestic.png`, + }, { ...proxyGroupDefaults, name: "Others", @@ -509,13 +522,13 @@ const rules = [ ...generateServiceRules(services), "RULE-SET,reject,Advertising", "RULE-SET,win-spy,Advertising", - "RULE-SET,direct,Chinese Mainland 🇨🇳", + "RULE-SET,direct,Domestic", "RULE-SET,proxy,PROXY", "RULE-SET,telegramcidr,Telegram", "RULE-SET,xcidr,X", "RULE-SET,googlecidr,Google", "RULE-SET,cloudflarecidr,Cloudflare", - "RULE-SET,cncidr,Chinese Mainland 🇨🇳", + "RULE-SET,cncidr,Domestic", "MATCH,Others", ];