mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-12 08:52:21 +00:00
fix: skip trying ldopengl if it is not a LDPlayer
This commit is contained in:
@@ -314,6 +314,9 @@ class LDOpenGL(Platform):
|
||||
def ldopengl_available(self) -> bool:
|
||||
if not self.is_ldplayer_bluestacks_family:
|
||||
return False
|
||||
logger.attr('EmulatorInfo_Emulator', self.config.EmulatorInfo_Emulator)
|
||||
if self.config.EmulatorInfo_Emulator not in ['LDPlayer9']:
|
||||
return False
|
||||
|
||||
try:
|
||||
_ = self.ldopengl
|
||||
|
||||
Reference in New Issue
Block a user