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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user