From 8d0263b59023d555628bd50d17576c6fa718a98f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E6=96=B9=E5=A4=9C=E8=B0=AD?= Date: Tue, 25 Nov 2025 12:59:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20B=E7=AB=99=E5=9B=BD=E9=99=85=E7=89=88-?= =?UTF-8?q?=E5=A4=A7=E4=BC=9A=E5=91=98=E6=9D=83=E7=9B=8A=E6=8F=90=E9=86=92?= =?UTF-8?q?=20(#1485)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: AIsouler --- src/apps/com.bilibili.app.in.ts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/apps/com.bilibili.app.in.ts b/src/apps/com.bilibili.app.in.ts index 32982d72..52fdf644 100644 --- a/src/apps/com.bilibili.app.in.ts +++ b/src/apps/com.bilibili.app.in.ts @@ -56,18 +56,25 @@ export default defineGkdApp({ { key: 8, name: '权限提示-通知权限', - desc: '自动点击"暂不"', - fastQuery: true, - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', rules: [ { + key: 0, + fastQuery: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', activityIds: 'tv.danmaku.bili.MainActivityV2', matches: ['[text="打开推送通知"]', '[text="暂不"]'], exampleUrls: 'https://e.gkd.li/e67d6d21-f09b-44b0-bf91-8b9fa0670e27', snapshotUrls: 'https://i.gkd.li/i/15907493', }, + { + key: 1, + activityIds: 'com.bilibili.vip.web.VipWebActivity', + matches: + '@Image < View + [id="subscribeContainer"] > [text="权益更新时推送通知"]', + snapshotUrls: 'https://i.gkd.li/i/23714120', + }, ], }, {