1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 14:39:25 +08:00

Fix: Serial 'auto'

This commit is contained in:
Zuosizhu
2023-02-27 21:07:15 +08:00
parent 58082e29e0
commit d69281d64b

View File

@@ -12,7 +12,7 @@ class GGU2(Base):
self.factor = 200
self.config = config
self.device = device
self.d = u2.connect(self.config.Emulator_Serial)
self.d = u2.connect(self.device.serial)
self.gg_package_name = deep_get(self.config.data, keys='GameManager.GGHandler.GGPackageName')
self.d.wait_timeout = 10.0