mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Deredundant emulator path in lowercase
This commit is contained in:
parent
c4f0bc1a89
commit
13f5c1a6b3
@ -495,7 +495,10 @@ class EmulatorManager(EmulatorManagerBase):
|
||||
|
||||
exe = [Emulator(path).path for path in exe if Emulator.is_emulator(path)]
|
||||
exe = sorted(set(exe))
|
||||
exe = [Emulator(path) for path in exe]
|
||||
dic = {}
|
||||
for path in exe:
|
||||
dic.setdefault(path.lower(), path)
|
||||
exe = [Emulator(path) for path in dic.values()]
|
||||
return exe
|
||||
|
||||
@cached_property
|
||||
|
||||
@ -47,6 +47,8 @@ class PlatformBase(Connection, EmulatorManagerBase):
|
||||
@cached_property
|
||||
def emulator_info(self) -> EmulatorInfo:
|
||||
emulator = self.config.EmulatorInfo_Emulator
|
||||
if emulator == 'auto':
|
||||
emulator = ''
|
||||
|
||||
def parse_info(value):
|
||||
if isinstance(value, str):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user