1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 13:59:02 +08:00
AzurLaneAutoScript/module/daemon/game_manager.py

17 lines
464 B
Python

from module.handler.login import LoginHandler
from module.logger import logger
class GameManager(LoginHandler):
def run(self):
logger.hr('Force Stop AzurLane', level=1)
self.device.app_stop()
logger.info('Force Stop finished')
if self.config.GameManager_AutoRestart:
LoginHandler(config=self.config, device=self.device).app_restart()
if __name__ == '__main__':
GameManager('alas', task='GameManager').run()