mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-06-09 20:04:52 +00:00
feat: shutdown when task queue empty
This commit is contained in:
@@ -128,7 +128,8 @@
|
||||
"option": [
|
||||
"stay_there",
|
||||
"goto_main",
|
||||
"close_game"
|
||||
"close_game",
|
||||
"shutdown"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ Optimization:
|
||||
CombatScreenshotInterval: 1.0
|
||||
WhenTaskQueueEmpty:
|
||||
value: goto_main
|
||||
option: [ stay_there, goto_main, close_game ]
|
||||
option: [ stay_there, goto_main, close_game, shutdown ]
|
||||
|
||||
# ==================== Daily ====================
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ class GeneratedConfig:
|
||||
# Group `Optimization`
|
||||
Optimization_ScreenshotInterval = 0.3
|
||||
Optimization_CombatScreenshotInterval = 1.0
|
||||
Optimization_WhenTaskQueueEmpty = 'goto_main' # stay_there, goto_main, close_game
|
||||
Optimization_WhenTaskQueueEmpty = 'goto_main' # stay_there, goto_main, close_game, shutdown
|
||||
|
||||
# Group `Cafe`
|
||||
Cafe_Reward = True
|
||||
|
||||
@@ -224,7 +224,8 @@
|
||||
"help": "Close AL when there are no pending tasks, can help reduce CPU",
|
||||
"stay_there": "Stay There",
|
||||
"goto_main": "Goto Main Page",
|
||||
"close_game": "Close Game"
|
||||
"close_game": "Close Game",
|
||||
"shutdown": "Shutdown"
|
||||
}
|
||||
},
|
||||
"Cafe": {
|
||||
|
||||
@@ -224,7 +224,8 @@
|
||||
"help": "无任务时关闭游戏,能在收菜期间降低 CPU 占用",
|
||||
"stay_there": "停在原处",
|
||||
"goto_main": "前往主界面",
|
||||
"close_game": "关闭游戏"
|
||||
"close_game": "关闭游戏",
|
||||
"shutdown": "shutdown"
|
||||
}
|
||||
},
|
||||
"Cafe": {
|
||||
|
||||
Reference in New Issue
Block a user