feat: support LDPlayer14

This commit is contained in:
2026-07-06 22:41:03 +08:00
parent 47cf57771a
commit f905524fb4
8 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ class LDOpenGL(Platform):
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']:
if self.config.EmulatorInfo_Emulator not in ['LDPlayer9', 'LDPlayer14']:
return False
try:
+2 -1
View File
@@ -155,7 +155,8 @@ class EmulatorBase:
LDPlayer3 = 'LDPlayer3'
LDPlayer4 = 'LDPlayer4'
LDPlayer9 = 'LDPlayer9'
LDPlayerFamily = [LDPlayer3, LDPlayer4, LDPlayer9]
LDPlayer14 = 'LDPlayer14'
LDPlayerFamily = [LDPlayer3, LDPlayer4, LDPlayer9, LDPlayer14]
MuMuPlayer = 'MuMuPlayer'
MuMuPlayerX = 'MuMuPlayerX'
MuMuPlayer12 = 'MuMuPlayer12'
+6 -1
View File
@@ -110,6 +110,8 @@ class Emulator(EmulatorBase):
return cls.LDPlayer4
elif dir1 == 'ldplayer9':
return cls.LDPlayer9
elif dir1 == 'ldplayer14':
return cls.LDPlayer14
else:
return cls.LDPlayer3
if exe == 'nemuplayer.exe':
@@ -459,9 +461,11 @@ class EmulatorManager(EmulatorManagerBase):
'LDPlayer',
'LDPlayer4',
'LDPlayer9',
'LDPlayer14',
'leidian',
'leidian4',
'leidian9',
'leidian14',
'Nemu',
'Nemu9',
'MuMuPlayer',
@@ -523,7 +527,8 @@ class EmulatorManager(EmulatorManagerBase):
# LDPlayer install path
for path in [r'SOFTWARE\leidian\ldplayer',
r'SOFTWARE\leidian\ldplayer9']:
r'SOFTWARE\leidian\ldplayer9',
r'SOFTWARE\leidian\ldplayer14']:
ld = self.get_install_dir_from_reg(path, 'InstallDir')
if ld:
ld = abspath(os.path.join(ld, './dnplayer.exe'))