Skip to content

Commit

Permalink
Feat: bilibili server
Browse files Browse the repository at this point in the history
  • Loading branch information
moesnow committed Sep 6, 2024
1 parent 1873fca commit 64a5758
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### 新功能
- 支援支持指定好友的指定角色且支持饰品提取使用(需重新配置)
- 支持B服启动后自动点击 “登录”
- 支持 “翡翠” 、 “椒丘”

### 修复
Expand Down
Binary file added assets/images/screen/bilibili_login.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 @@ -50,6 +50,8 @@ def check_and_click_enter():
auto.click_element("./assets/images/zh_CN/base/restart.png", "image", 0.9, take_screenshot=False)
# 适配国际服,需要点击“开始游戏”
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)
# 登录过期
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 64a5758

Please sign in to comment.