From 0055ad0bd4665b9d57ace113b6a5dbf7a3e624d0 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Fri, 15 Dec 2023 20:33:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=85=BE=E8=AE=AF=E8=A7=86=E9=A2=91):=20?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E9=80=9A=E7=9F=A5=E6=9D=83=E9=99=90=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84=E5=88=99=EF=BC=89?= =?UTF-8?q?=20(#3178)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.qqlive.ts | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/apps/com.tencent.qqlive.ts b/src/apps/com.tencent.qqlive.ts index 4f23e566..cbc044ca 100644 --- a/src/apps/com.tencent.qqlive.ts +++ b/src/apps/com.tencent.qqlive.ts @@ -157,12 +157,22 @@ export default defineAppConfig({ enable: false, key: 20, name: '请求通知权限弹窗', - desc: '自动点击[以后再说]', - quickFind: true, - actionMaximum: 1, resetMatch: 'app', - rules: 'LinearLayout > @[text="以后再说"] + [text="好的"]', - snapshotUrls: 'https://i.gkd.li/import/12700139', + rules: [ + { + key: 0, + actionMaximum: 1, + quickFind: true, + matches: 'LinearLayout > @[text="以后再说"] + [text="好的"]', + snapshotUrls: 'https://i.gkd.li/import/12700139', + }, + { + key: 1, + actionMaximumKey: 0, + matches: '@ImageView + * > [text^="开启通知"]', + snapshotUrls: 'https://i.gkd.li/import/13670465', + }, + ], }, ], });