Skip to content

Commit 9f8c642

Browse files
committed
feat:增加任务完成标记
1 parent b100b55 commit 9f8c642

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

assets/interface.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,11 @@
376376
"display_pointer_location",
377377
"display_touch"
378378
]
379+
},
380+
{
381+
"name": "完成标记",
382+
"entry": "complete",
383+
"description": "用于标记任务已经完成,方便和auto_mas项目配合,https://github.com/AUTO-MAS-Project/AUTO-MAS"
379384
}
380385
],
381386
"option": {

assets/resource/base/pipeline/Share.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,5 +330,11 @@
330330
"post_delay": 0,
331331
"post_wait_freezes": 200,
332332
"focus": "[color:darkgray]关闭周榜更新提示[/color]"
333+
},
334+
"complete": {
335+
"recognition": "DirectHit",
336+
"pre_delay": 0,
337+
"post_delay": 0,
338+
"focus": "OK"
333339
}
334340
}

assets/resource/base/pipeline/SharedNode.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@
628628
"try_back_main_screen",
629629
"back_main_screen_failed"
630630
],
631-
"focus": "[color:tomato]超过重试次数返回主页并结束任务。[/color]"
631+
"focus": "[color:tomato]超过重试次数!返回主页并结束任务。[/color]"
632632
},
633633
"try_back_main_screen": {
634634
"max_hit": 1,
@@ -639,7 +639,7 @@
639639
"back_main_screen_failed": {
640640
"pre_delay": 0,
641641
"post_delay": 0,
642-
"focus": "[color:tomato]尝试返回主界面失败任务中断[/color]",
642+
"focus": "[color:tomato]尝试返回主界面失败!任务中断![/color]",
643643
"action": "Custom",
644644
"custom_action": "StopTaskList"
645645
},

0 commit comments

Comments
 (0)