mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-09-27 22:35:47 +00:00
Fix: [ALAS] Skip trying ldopengl if it is not a LDPlayer
This commit is contained in:
parent
a5c9724ef3
commit
a8a3362531
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user