Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加了对英文操作系统的支持 #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 蚂蚁森林.js → 蚂蚁森林(English Systems).js
Original file line number Diff line number Diff line change
Expand Up @@ -326,12 +326,12 @@ function AntForest(robot, options) {

// 统计下次时间
var minuteList = [];
var keyword = "查看更多好友";
var keyword = "View more friends";
if (desc(keyword).exists()) {
log(keyword);
if (this.robot.clickCenter(desc(keyword).findOne(timeout))) {
// 等待更多列表刷新
if (id("com.alipay.mobile.nebula:id/h5_tv_title").text("好友排行榜").findOne(timeout)) {
if (id("com.alipay.mobile.nebula:id/h5_tv_title").text("Green heroes").findOne(timeout)) {
sleep(1000);
log("进入好友排行榜成功");
// 跳过第一屏
Expand Down