1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-17 14:35:25 +08:00

Fix: fix research development popup in login function

This commit is contained in:
whoamikyo
2020-07-31 17:20:03 -03:00
parent 05383cd218
commit 59841d2a6b
2 changed files with 4 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ call %ADB% connect %ADB_PORT%
if %errorlevel% == 0 ( if %errorlevel% == 0 (
echo Python Found! Proceeding.. echo Python Found! Proceeding..
echo Opening dev_tools.button_extract... echo Opening dev_tools.button_extract...
call %PYTHON% -m dev_tools.grids_debug call %PYTHON% -m dev_tools.relative_record
pause > NUL pause > NUL
goto dev_menu goto dev_menu
) else ( ) else (
@@ -178,7 +178,7 @@ call %ADB% connect %ADB_PORT%
if %errorlevel% == 0 ( if %errorlevel% == 0 (
echo Python Found! Proceeding.. echo Python Found! Proceeding..
echo Opening dev_tools.button_extract... echo Opening dev_tools.button_extract...
call %PYTHON% -m dev_tools.item_statistics call %PYTHON% -m dev_tools.relative_record_gif
pause > NUL pause > NUL
goto dev_menu goto dev_menu
) else ( ) else (

View File

@@ -31,6 +31,8 @@ class LoginHandler(Combat):
continue continue
if self.appear_then_click(LOGIN_CONFIRM, interval=5): if self.appear_then_click(LOGIN_CONFIRM, interval=5):
continue continue
if self.handle_popup_confirm():
continue
if self.info_bar_count() and self.appear_then_click(LOGIN_CHECK, interval=5): if self.info_bar_count() and self.appear_then_click(LOGIN_CHECK, interval=5):
if not login_success: if not login_success: