Skip to content

Commit

Permalink
Feat: #256
Browse files Browse the repository at this point in the history
  • Loading branch information
moesnow committed Sep 6, 2024
1 parent 64a5758 commit 722c669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file added assets/images/screen/agree_update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions tasks/game/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def check_and_click_enter():
auto.click_element("./assets/images/screen/start_game.png", "image", 0.9, take_screenshot=False)
# 适配B服,需要点击“登录”
auto.click_element("./assets/images/screen/bilibili_login.png", "image", 0.9, take_screenshot=False)
# 适配用户协议和隐私政策更新提示,需要点击“同意”
auto.click_element("./assets/images/screen/agree_update.png", "image", 0.9, take_screenshot=False)
# 登录过期
if auto.find_element("./assets/images/screen/account_and_password.png", "image", 0.9, take_screenshot=False):
if load_acc_and_pwd(gamereg_uid()) != (None, None):
Expand Down

0 comments on commit 722c669

Please sign in to comment.