1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 08:38:20 +08:00

Fix: Stuck when server update(MAA)

This commit is contained in:
SarContDeli
2023-01-24 21:42:06 +08:00
parent 62598a0b53
commit 96e8f8fbdf
2 changed files with 6 additions and 2 deletions

View File

@@ -43,9 +43,10 @@ class ArknightsAutoScript(AzurLaneAutoScript):
@cached_property
def asst(self):
if self.config.task.command not in ['MaaStartup', 'Maa']:
if self.config.task.command != 'Maa':
self.config.task_call('MaaStartup', True)
self.config.task_stop()
if self.config.task.command != 'MaaStartup':
self.config.task_stop()
logger.info(f'MAA安装路径{self.config.MaaEmulator_MaaPath}')
try: