Commit 8621d32
committed
在 runtime.sh 的节点扫描逻辑中,增加一项过滤条件:
当有其他节点导入时:自动将标签为 default 的节点从 tags 列表中移除。这样 Auto-Fastest 分组将只包含您导入的代理节点,避免因为它选择了“直连”而导致代理失效。
当没有导入其他节点时:保底逻辑会生效,将唯一的 default 节点重新加回列表。这保证了在没有任何节点的情况下,sing-box 配置文件依然合法且具备基础的直连功能。1 parent d0466df commit 8621d32
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments