From 9b0ea5b1db1617604d1ce7376b8a2a41eda0d836 Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Mon, 11 Dec 2023 19:22:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9):=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=20(#2953)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/tv.danmaku.bili.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/apps/tv.danmaku.bili.ts b/src/apps/tv.danmaku.bili.ts index 73cb0c6c..4f75b3e2 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -160,13 +160,18 @@ export default defineAppConfig({ key: 9, name: '请求通知权限弹窗', quickFind: true, - matchDelay: 5000, matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - activityIds: 'tv.danmaku.bili.MainActivityV2', - rules: '[text="打开推送通知"] +2 * > [id="tv.danmaku.bili:id/close"]', - snapshotUrls: 'https://i.gkd.li/import/13229159', + activityIds: [ + 'tv.danmaku.bili.MainActivityV2', + 'com.bilibili.video.story.StoryTransparentActivity', + ], + rules: '[text$="通知"] +2 * > [id="tv.danmaku.bili:id/close"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13229159', + 'https://i.gkd.li/import/13614090', + ], }, { enable: false,