1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-16 01:07:22 +08:00

Upd: New options of MaaRecruit and MaaInfrast

This commit is contained in:
SarContDeli
2022-09-21 16:47:13 +08:00
parent 165f6a1c95
commit 6680f6d9ce
11 changed files with 99 additions and 20 deletions

View File

@@ -1,9 +1,7 @@
import os
import json
from cached_property import cached_property
from alas import AzurLaneAutoScript
from deploy.config import DeployConfig
from module.exception import RequestHumanTakeover
from module.logger import logger
@@ -74,10 +72,6 @@ class ArknightsAutoScript(AzurLaneAutoScript):
ArknightsAutoScript.callback = callback
asst = AssistantHandler.Asst(callback)
if not asst.connect(os.path.abspath(DeployConfig().AdbExecutable), self.config.MaaEmulator_Serial):
logger.critical('Adb connect failed')
raise RequestHumanTakeover
return asst
def maa_startup(self):