From 0f7f76200c48be4f6251daf344403b6fccfb26e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=89=91=E9=B8=A3?= Date: Sun, 7 Jun 2026 13:04:59 +0800 Subject: [PATCH] fix MuMu Pro detection for generic ADB serials --- module/device/connection_attr.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/module/device/connection_attr.py b/module/device/connection_attr.py index bde6df59e..32db6c469 100644 --- a/module/device/connection_attr.py +++ b/module/device/connection_attr.py @@ -169,7 +169,12 @@ def is_mumu12_family(self): def is_mumu_family(self): # 127.0.0.1:7555 # 127.0.0.1:16384 + 32*n - return self.serial == '127.0.0.1:7555' or self.is_mumu12_family + # MuMu Pro on macOS may expose a generic emulator-* serial instead. + return ( + self.serial == '127.0.0.1:7555' + or self.is_mumu12_family + or self.config.EmulatorInfo_Emulator == 'MuMuPro' + ) @cached_property def is_ldplayer_bluestacks_family(self):