Skip to content

Commit

Permalink
Update start.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MonsterNone authored Oct 27, 2023
1 parent fba3048 commit c9e7230
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions start.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const VERSION = '20231111-M'
const VERSION = '20231111-N'

if (!auto.service) {
toast('无障碍服务未启动!退出!')
Expand Down Expand Up @@ -153,9 +153,16 @@ try {
sleep(8000)
return findTask()
}
console.log(taskName, content)
if (!(taskName.match(/首页|提醒|开通|捕鱼|续费|乐园|斗地主|消消|流浪猫|开88|扔喵币|占领|邀请|登录|组队|参与|施肥|浇水|特价版|小鸡|消除|穿搭|森林|点淘|人生|我的淘宝|庄园|支付宝|点击人物|省钱卡|年卡|积分|答题|分享|订阅|连连消|月月有余|守护/) || !content.match(/浏览|点击|小游戏/))) {
return [taskName, jumpButtons[i], content]
console.log(taskName, '"' + content + '"')
if (!(taskName.match(/首页|提醒|开通|捕鱼|续费|乐园|斗地主|消消|流浪猫|开88|扔喵币|占领|邀请|登录|组队|参与|施肥|浇水|特价版|小鸡|消除|穿搭|森林|点淘|人生|我的淘宝|庄园|支付宝|点击人物|省钱卡|年卡|积分|答题|分享|订阅|连连消|月月有余|守护/))) {
// 应对content为空的情况
if (content) {
if (!content.match(/浏览|点击|小游戏/)) {
return [taskName, jumpButtons[i], content]
}
} else {
return [taskName, jumpButtons[i], content]
}
}
}
}
Expand Down

0 comments on commit c9e7230

Please sign in to comment.