mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-05 11:36:56 +08:00
Fix: [ALAS] Add IGNORE_SERIAL list
This commit is contained in:
parent
5ef353a507
commit
5f89eb6276
@ -5,6 +5,14 @@ from deploy.emulator import EmulatorConnect
|
||||
from deploy.logger import logger
|
||||
from deploy.utils import *
|
||||
|
||||
IGNORE_SERIAL = [
|
||||
# Water-cooling display
|
||||
# https://github.com/LmeSzinc/AzurLaneAutoScript/issues/3412
|
||||
'HRBDFUN',
|
||||
# USB network card
|
||||
'1234567890ABCDEF',
|
||||
]
|
||||
|
||||
|
||||
def show_fix_tip(module):
|
||||
logger.info(f"""
|
||||
@ -59,6 +67,8 @@ class AdbManager(DeployConfig):
|
||||
del os.environ[k]
|
||||
|
||||
for device in adbutils.adb.iter_device():
|
||||
if device.serial in IGNORE_SERIAL:
|
||||
continue
|
||||
logger.info(f'Init device {device}')
|
||||
initer = init.Initer(device, loglevel=logging.DEBUG)
|
||||
# MuMu X has no ro.product.cpu.abi, pick abi from ro.product.cpu.abilist
|
||||
|
Loading…
Reference in New Issue
Block a user