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

@@ -12,7 +12,12 @@
{
"name": "partyName",
"type": "input-text",
"label": "设置要使用的队伍名称(留空则不进行切换)"
"label": "设置首选队伍名称(留空则不进行切换)"
},
{
"name": "partyName2nd",
"type": "input-text",
"label": "设置备选队伍名称(首选队伍缺少对应的采集角色时使用)"
},
{
"name": "stopAtTime",
@@ -23,5 +28,15 @@
"name": "iHaveMultipleAccounts",
"type": "checkbox",
"label": "我肝的账号不止一个(选中后将分账号维护对应的材料刷新时间)"
},
{
"name": "selectAllMaterials",
"type": "checkbox",
"label": "采集扫描到的所有材料(选中后将无视后面的每个材料⬇️是否选中)"
},
{
"name": "acceptMultiplePathOfSameMaterial",
"type": "checkbox",
"label": "即使同一种材料有多个版本的路线,也全都执行采集"
}
]