|
|
@@ -34,6 +34,10 @@
|
|
|
"script": "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/gandart/gandartExchange.js"
|
|
|
},
|
|
|
{
|
|
|
+ "name": "星光通道",
|
|
|
+ "script": "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/gandart/gandartStarLight.js"
|
|
|
+ },
|
|
|
+ {
|
|
|
"name": "首发抢购",
|
|
|
"script": "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/gandart/gandartGrab.js"
|
|
|
}
|
|
|
@@ -543,7 +547,7 @@
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- "id": "lkGandartCompositeTaskMode",
|
|
|
+ "id": "lkGandartExchangeTaskMode",
|
|
|
"name": "任务置换分解模式",
|
|
|
"val": "1",
|
|
|
"type": "radios",
|
|
|
@@ -642,6 +646,173 @@
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
+ "id": "lkGandartStarExcher",
|
|
|
+ "name": "光予星光",
|
|
|
+ "author": "@jojo",
|
|
|
+ "repo": "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/gandart/gandartStarLight.js",
|
|
|
+ "script": "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/gandart/gandartStarLight.js",
|
|
|
+ "icons": [
|
|
|
+ "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Icons/gandart.png",
|
|
|
+ "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Icons/gandart.png"
|
|
|
+ ],
|
|
|
+ "keys": [
|
|
|
+ "lkGandartToken",
|
|
|
+ "lkGandartStarExchTaskId",
|
|
|
+ "lkGandartStarExchTaskNameDisplay"
|
|
|
+ ],
|
|
|
+ "settings": [
|
|
|
+ {
|
|
|
+ "id": "lkIsEnableLogGandartStarExcher",
|
|
|
+ "name": "开启/关闭日志",
|
|
|
+ "val": true,
|
|
|
+ "type": "boolean",
|
|
|
+ "desc": "默认开启"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkNotifyOnlyFailGandartStarExcher",
|
|
|
+ "name": "只当执行失败才通知",
|
|
|
+ "val": false,
|
|
|
+ "type": "boolean",
|
|
|
+ "desc": "默认关闭"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkGandartStarExchFuncEnalbleList",
|
|
|
+ "name": "功能步骤",
|
|
|
+ "val": "TaskList,MateList,DecidedList",
|
|
|
+ "type": "checkboxes",
|
|
|
+ "desc": "功能步骤",
|
|
|
+ "items": [
|
|
|
+ {
|
|
|
+ "key": "TaskList",
|
|
|
+ "label": "获取星光通道任务列表"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "MateList",
|
|
|
+ "label": "获取可行星光兑换方案"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "DecidedList",
|
|
|
+ "label": "生成最终星光兑换方案"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "ExecExchange",
|
|
|
+ "label": "最终执行星光兑换任务"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkGandartStarExchTaskListStatus",
|
|
|
+ "name": "任务列表状态",
|
|
|
+ "val": "1",
|
|
|
+ "type": "radios",
|
|
|
+ "desc": "",
|
|
|
+ "items": [
|
|
|
+ {
|
|
|
+ "key": "1",
|
|
|
+ "label": "进行中"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkGandartStarExchTaskMode",
|
|
|
+ "name": "任务星光兑换模式",
|
|
|
+ "val": "1",
|
|
|
+ "type": "radios",
|
|
|
+ "desc": "",
|
|
|
+ "items": [
|
|
|
+ {
|
|
|
+ "key": "0",
|
|
|
+ "label": "普通(即时计算兑换)"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "key": "1",
|
|
|
+ "label": "极速(预设数据兑换)"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkIsStarExchTaskListCache",
|
|
|
+ "name": "启用/弃用任务列表本地缓存",
|
|
|
+ "val": false,
|
|
|
+ "type": "boolean",
|
|
|
+ "desc": "默认关闭"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkIsStarExchMaterialCache",
|
|
|
+ "name": "启用/弃用材料详情本地缓存",
|
|
|
+ "val": false,
|
|
|
+ "type": "boolean",
|
|
|
+ "desc": "默认关闭"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkIsStarExchTaskSearchEnable",
|
|
|
+ "name": "启用/关闭置换分解任务名称检索",
|
|
|
+ "val": true,
|
|
|
+ "type": "boolean",
|
|
|
+ "desc": "默认启用"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkIsStarExchBatchEnable",
|
|
|
+ "name": "启用/关闭批量置换分解",
|
|
|
+ "val": true,
|
|
|
+ "type": "boolean",
|
|
|
+ "desc": "默认启用"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkGandartStarExchBatchGroupCount",
|
|
|
+ "name": "批量置换分解个数",
|
|
|
+ "val": 5,
|
|
|
+ "type": "number",
|
|
|
+ "desc": "批量置换分解个数,就是一次请求置换分解多个"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkGandartStarExchTaskId",
|
|
|
+ "name": "置换分解任务ID",
|
|
|
+ "val": "",
|
|
|
+ "type": "text",
|
|
|
+ "desc": "置换分解任务ID"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkGandartStarExchTaskSearchKey",
|
|
|
+ "name": "置换分解任务名称关键字",
|
|
|
+ "val": "",
|
|
|
+ "type": "text",
|
|
|
+ "desc": "置换分解任务名称关键字,进行搜索匹配到相应的任务ID"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkGandartStarExchCountArray",
|
|
|
+ "name": "置换分解组合执行次数",
|
|
|
+ "val": "0#1",
|
|
|
+ "type": "text",
|
|
|
+ "desc": "置换分解组合执行次数,格式如:0#1,0代表应索引0的可行方案组合,1代表执行次数"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkGandartStarExchTaskMateList",
|
|
|
+ "name": "置换分解组合可行方案",
|
|
|
+ "val": "[]",
|
|
|
+ "autoGrow": false,
|
|
|
+ "type": "textarea",
|
|
|
+ "desc": "普通模式运行得出,仅供查看,用于编写置换分解组合执行次数"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkGandartStarExchTaskFinalList",
|
|
|
+ "name": "置换分解组合最终方案",
|
|
|
+ "val": "[]",
|
|
|
+ "autoGrow": false,
|
|
|
+ "type": "textarea",
|
|
|
+ "desc": "普通模式运行得出,作为极速模式下的缓存,可手动编写(慎重)"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": "lkGandartStarExchTaskList1",
|
|
|
+ "name": "进行中-任务列表",
|
|
|
+ "val": "[]",
|
|
|
+ "autoGrow": false,
|
|
|
+ "type": "textarea",
|
|
|
+ "desc": "进行中的任务列表,用于查看合成任务ID(勿编辑修改)"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
"id": "lkGandartPayer",
|
|
|
"name": "光予支付",
|
|
|
"author": "@jojo",
|