From 5f460b17f3c7ee94e578be01772ffb153b810def Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 20 Nov 2023 20:41:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=8A=92=E6=9E=9CTV):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88=E4=BC=98=E5=8C=96=E8=A7=84?= =?UTF-8?q?=E5=88=99=EF=BC=89=20(#2254)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.hunantv.imgo.activity.ts | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/apps/com.hunantv.imgo.activity.ts b/src/apps/com.hunantv.imgo.activity.ts index 3a947d41..34721d81 100644 --- a/src/apps/com.hunantv.imgo.activity.ts +++ b/src/apps/com.hunantv.imgo.activity.ts @@ -7,16 +7,15 @@ export default defineAppConfig({ { key: -1, name: '开屏广告', - activityIds: 'com.hunantv.imgo.activity.MainActivity', - rules: [ - { - matches: '[id="com.hunantv.imgo.activity:id/layout_boot_skip"]', - snapshotUrls: 'https://i.gkd.li/import/12472612', - }, - { - matches: '[id="com.hunantv.imgo.activity:id/ivAd"] >n [text^="跳过"]', - snapshotUrls: 'https://i.gkd.li/import/12472612', - }, + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: + '@[text^="跳过"][text.length<=10] <