refactor: streamline platform imports and remove redundant type method

This commit is contained in:
2026-07-05 18:47:10 +08:00
parent d0e6c78cc1
commit ce8eb1c452
4 changed files with 9 additions and 16 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class EmulatorInstanceBase:
Returns:
str: Emulator type, such as Emulator.NoxPlayer
"""
return EmulatorBase.path_to_type(self.path)
return self.emulator.type
@cached_property
def emulator(self):