From c9d6e698e129bb2345b964ac353af929b93628d2 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sat, 4 May 2024 20:03:16 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=AD=E5=9B=BD=E7=94=B5=E4=BF=A1):=20?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E6=8F=90=E7=A4=BA=EF=BC=88=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.ct.client.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/apps/com.ct.client.ts b/src/apps/com.ct.client.ts index 448a1770..8cbf7030 100644 --- a/src/apps/com.ct.client.ts +++ b/src/apps/com.ct.client.ts @@ -80,8 +80,20 @@ export default defineGkdApp({ actionMaximum: 1, resetMatch: 'app', // quickFind: true, 实机测试使用无法跳过 - rules: 'ImageView[id="com.ct.client:id/msg_close"]', - snapshotUrls: 'https://i.gkd.li/i/13043522', + rules: [ + { + key: 0, + matches: 'ImageView[id="com.ct.client:id/msg_close"]', + snapshotUrls: 'https://i.gkd.li/i/13043522', + }, + { + key: 1, + quickFind: true, + activityIds: 'com.ct.client.activity.MainActivity', + matches: '[text^="开启消息通知"] [vid="ivClose"]', + snapshotUrls: 'https://i.gkd.li/i/15209597', + }, + ], }, { key: 6,