mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-08 12:27:33 +08:00
18 lines
457 B
Python
18 lines
457 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:
|
|
self.device.app_start()
|
|
self.handle_app_login()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
GameManager('alas', task='GameManager').run()
|