mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-18 11:31:30 +08:00
Fix: Deredundant emulator path in lowercase
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user