mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: App control via ADB for all (#18)
This commit is contained in:
parent
16d5e447df
commit
639d16e8a1
@ -9,7 +9,9 @@ from module.logger import logger
|
|||||||
|
|
||||||
class AppControl(Adb, WSA, Uiautomator2):
|
class AppControl(Adb, WSA, Uiautomator2):
|
||||||
hierarchy: etree._Element
|
hierarchy: etree._Element
|
||||||
_app_u2_family = ['uiautomator2', 'minitouch', 'scrcpy', 'MaaTouch']
|
# Use ADB for all
|
||||||
|
# See https://github.com/openatx/uiautomator2/issues/565
|
||||||
|
_app_u2_family = []
|
||||||
|
|
||||||
def app_is_running(self) -> bool:
|
def app_is_running(self) -> bool:
|
||||||
method = self.config.Emulator_ControlMethod
|
method = self.config.Emulator_ControlMethod
|
||||||
|
Loading…
Reference in New Issue
Block a user