fix: ShadowRocket 策略组改用 policy-regex-filter 收节点

ShadowRocket 没有 Surge 的 use= 订阅引用语法,首版 conf 里
「订阅名 + use=true」在真机上解析失败,All Nodes 组只显示一个
无效的 Proxy Group 残留成员。改为原生的 policy-regex-filter
从 App 内全部节点筛选(收纳全部节点 = .*),订阅命名约束随之
取消,删除 SHADOWROCKET_SUB_NAME 常量并同步前端提示与文档。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-25 13:52:27 +08:00
parent bf7f2df67e
commit e5a3c70773
6 changed files with 14 additions and 33 deletions

View File

@@ -10,12 +10,6 @@ export const CLIENT_LABELS: Record<ClientType, string> = {
clash: 'ClashMeta (Android)',
};
/**
* ShadowRocket 分两步导入:节点走订阅、策略组与规则走配置文件。
* 配置文件里的策略组用 `use=true` 引用订阅,因此 App 内的订阅名必须与此一致。
*/
export const SHADOWROCKET_SUB_NAME = 'Proxy Station';
export type Egress = 'direct' | 'warp' | 'unknown';
/** Surge 与 Clash 使用 IETF 命名Xray 分享链接使用简名 */