mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-18 23:29:30 +08:00
update gg
This commit is contained in:
@@ -12,6 +12,7 @@ class GGXpath(Base):
|
||||
def __init__(self, config, device):
|
||||
self.config = config
|
||||
self.device = device
|
||||
u2.connect(self.config.Emulator_Serial).reset_uiautomator()
|
||||
self.d = u2.connect(self.config.Emulator_Serial)
|
||||
self.gg_package_name = deep_get(self.config.data, keys='GameManager.GGHandler.GGPackageName')
|
||||
self.d.wait_timeout = 10.0
|
||||
@@ -162,4 +163,4 @@ class GGXpath(Base):
|
||||
return 0
|
||||
logger.hr('GG Enabled', level=2)
|
||||
self.d.app_stop(self.gg_package_name)
|
||||
return 1
|
||||
return 1
|
||||
Reference in New Issue
Block a user