mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-09 10:37:36 +08:00
Fix: [ALAS] Global MuMu 12 id
This commit is contained in:
parent
25a33ede7d
commit
76f863ac59
@ -105,7 +105,7 @@ class EmulatorInstanceBase:
|
||||
Returns:
|
||||
int: Instance ID, or None if this is not a MuMu 12 instance
|
||||
"""
|
||||
res = re.search(r'MuMuPlayer-12.0-(\d+)', self.name)
|
||||
res = re.search(r'MuMuPlayer(?:Global)?-12.0-(\d+)', self.name)
|
||||
if res:
|
||||
return int(res.group(1))
|
||||
res = re.search(r'YXArkNights-12.0-(\d+)', self.name)
|
||||
|
Loading…
Reference in New Issue
Block a user