mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Add Game Manager (WIP), currently only force close and restart games are implemented.
This commit is contained in:
4
gui.py
4
gui.py
@@ -128,6 +128,10 @@ class AlasManager:
|
||||
from module.daemon.benchmark import Benchmark
|
||||
Benchmark(config=config_name, task='Benchmark').run()
|
||||
q.put("Scheduler stopped.\n") # Prevent status turns to warning
|
||||
elif func == 'GameManager':
|
||||
from module.daemon.game_manager import GameManager
|
||||
GameManager(config=config_name, task='GameManager').run()
|
||||
q.put("Scheduler stopped.\n")
|
||||
else:
|
||||
logger.critical("No function matched")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user