js: CD-Aware-AutoGather: 队伍中没有对应元素角色时自动切换采集队伍 (#1166)

* js: CD-Aware-AutoGather: 队伍中没有对应元素角色时自动切换采集队伍

其他细节优化:
- 修复路径中有空格时匹配不到刷新机制的问题(`1. 高成功率路线`)
- 扫描材料时统计角色需求
- 将辅助功能抽取为库,`main.js`只保留核心逻辑

* js: CD-Aware-AutoGather: 增加全选选项,便于直接采用全部路径订阅的路线
This commit is contained in:
Patrick-Ze
2025-06-22 23:25:25 +08:00
committed by GitHub
parent 63807ccfdc
commit 4fe2512d7c
7 changed files with 878 additions and 385 deletions

View File

@@ -2,7 +2,7 @@
{
"name": "runMode",
"type": "select",
"label": "首次运行前请先简单阅读说明,推荐在线版\n https://gitee.com/babalae/bettergi-scripts-list\n/tree/main/repo/js/CD-Aware-AutoGather \n本地版说明见脚本目录内的 README.md 文件",
"label": "首次使用前请先简单阅读说明(可在`全自动`——`JS脚本`页面,点击本脚本名称查看)",
"options": [
"扫描文件夹更新可选材料列表"
]