From d65c28825a4d18f2399011fab65a4b57b362273f Mon Sep 17 00:00:00 2001 From: AIsouler Date: Wed, 15 Jan 2025 17:57:42 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E5=B0=8F=E7=BA=A2=E4=B9=A6):=20=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=8F=90=E7=A4=BA-=E9=80=9A=E7=9F=A5=E6=9D=83?= =?UTF-8?q?=E9=99=90=20(#717)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.xingin.xhs.ts | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/apps/com.xingin.xhs.ts b/src/apps/com.xingin.xhs.ts index 1f33eded..0d488302 100644 --- a/src/apps/com.xingin.xhs.ts +++ b/src/apps/com.xingin.xhs.ts @@ -35,7 +35,6 @@ export default defineGkdApp({ key: 1, name: '权限提示-通知权限', fastQuery: true, - matchTime: 30000, actionMaximum: 1, resetMatch: 'app', rules: [ @@ -45,12 +44,16 @@ export default defineGkdApp({ '.index.v2.IndexActivityV2', '.notification.NotificationAuthorizationTranslucentActivity', 'com.xingin.matrix.notedetail.r10.comment.r10.NoteCommentActivity', + 'com.xingin.authorization.NotificationAuthorizationTranslucentActivity', ], - matches: '@ImageView <2 FrameLayout >2 [text^="打开通知"]', + matches: + '@ImageView[clickable=true][visibleToUser=true] - LinearLayout > [text^="打开通知" || text^="Enable notifications"]', snapshotUrls: [ 'https://i.gkd.li/i/13195753', 'https://i.gkd.li/i/13222356', 'https://i.gkd.li/i/13255627', + 'https://i.gkd.li/i/16918033', + 'https://i.gkd.li/i/18417785', ], }, { @@ -59,14 +62,6 @@ export default defineGkdApp({ matches: '@ImageView <2 FrameLayout - [text^="打开通知"]', snapshotUrls: 'https://i.gkd.li/i/13250418', }, - { - key: 2, - activityIds: - 'com.xingin.authorization.NotificationAuthorizationTranslucentActivity', - matches: '[vid="mNegativeImageView"]', - exampleUrls: 'https://e.gkd.li/01c3cb0b-80b1-4e70-a330-6f4afb7ddf44', - snapshotUrls: 'https://i.gkd.li/i/16918033', - }, ], }, {