From 213433d43029885ba4fe62028aa147e1b63f40bb Mon Sep 17 00:00:00 2001 From: AIsouler Date: Tue, 29 Oct 2024 20:30:42 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E5=BA=94=E7=94=A8=E5=95=86=E5=BA=97):=20?= =?UTF-8?q?=E6=9D=83=E9=99=90=E6=8F=90=E7=A4=BA-=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=9D=83=E9=99=90=20(#435)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.bbk.appstore.ts | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/src/apps/com.bbk.appstore.ts b/src/apps/com.bbk.appstore.ts index ce502695..e2456860 100644 --- a/src/apps/com.bbk.appstore.ts +++ b/src/apps/com.bbk.appstore.ts @@ -12,13 +12,9 @@ export default defineGkdApp({ actionMaximum: 1, resetMatch: 'app', rules: [ - { - key: 0, - matches: '[id="com.bbk.appstore:id/upgrade_necessary_btn_high_new"]', - snapshotUrls: 'https://i.gkd.li/i/13198101', - }, { key: 1, + activityIds: '.ui.AppStoreTabActivity', matches: ['[text*="通知"]', '[text="取消"]'], snapshotUrls: [ 'https://i.gkd.li/i/13198234', @@ -28,5 +24,22 @@ export default defineGkdApp({ }, ], }, + { + key: 2, + name: '全屏广告-热门应用推荐', + desc: '点击[跳过,进入首页]', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + fastQuery: true, + activityIds: '.upgrade.UpgradeNecessaryActivity', + matches: '[text="跳过,进入首页"]', + exampleUrls: 'https://e.gkd.li/eb96ca80-2e68-4f41-ac0f-3c82092034d7', + snapshotUrls: 'https://i.gkd.li/i/13198101', + }, + ], + }, ], });