1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 08:38:20 +08:00
This commit is contained in:
2024-12-10 12:01:21 +08:00
34 changed files with 203 additions and 138 deletions

View File

@@ -53,7 +53,7 @@ class LoginHandler(UI):
confirm_timer.reset()
# Login
if self.appear(LOGIN_CHECK, offset=(30, 30), interval=5) and LOGIN_CHECK.match_appear_on(self.device.image):
if self.match_template_color(LOGIN_CHECK, offset=(30, 30), interval=5):
self.device.click(LOGIN_CHECK)
if not login_success:
logger.info('Login success')