1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-22 08:09:29 +08:00

Merge pull request #4 from Zuosizhu/dev

Fix: OCR_GEM Accuracy
This commit is contained in:
Zuosizhu
2023-01-17 23:13:14 +08:00
committed by GitHub
12 changed files with 365 additions and 353 deletions

View File

@@ -28,7 +28,7 @@ class LoginHandler(UI):
out: page_main
"""
logger.hr('App login')
if self.config.GGHandler_AutoRestartGG:
if self.config.GGHandler_Enabled:
from module.gg_handler.gg_handler import gg_handler as gg
gg(config=self.config,device=self.device,switch=True, factor=self.config.GGHandler_GGMutiplyingFactor).gg_skip_error()
@@ -88,7 +88,7 @@ class LoginHandler(UI):
if self.appear_then_click(GOTO_MAIN, offset=(30, 30), interval=5):
continue
if self.config.GGHandler_AutoRestartGG:
if self.config.GGHandler_Enabled and self.config.GGHandler_AutoRestartGG:
gg(config=self.config,device=self.device,switch=True, factor=self.config.GGHandler_GGMutiplyingFactor).gg_run()
return True