From 6949005890c0d58ccb62ddcdfd60287fe3229c52 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 15 Mar 2024 21:28:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=A4=A7=E9=BA=A6):=20=E5=BC=80=E5=B1=8F?= =?UTF-8?q?=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/cn.damai.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/apps/cn.damai.ts b/src/apps/cn.damai.ts index d444d1e5..d82ae6bc 100644 --- a/src/apps/cn.damai.ts +++ b/src/apps/cn.damai.ts @@ -6,12 +6,20 @@ export default defineAppConfig({ groups: [ { key: 0, - name: '开屏广告', + name: '开屏广告', // 该软件开屏广告非常特殊,需使用clickCenter并在设置里开启[shizuku模拟点击]才能跳过 matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - rules: '[id="cn.damai:id/homepage_advert_pb"]', - snapshotUrls: 'https://i.gkd.li/i/12472623', + rules: [ + { + quickFind: true, + action: 'clickCenter', + matches: '[vid="homepage_advert_pb"]', + exampleUrls: + 'https://m.gkd.li/57941037/6680a0b8-0796-4165-88fc-1f16cd6c67dd', + snapshotUrls: 'https://i.gkd.li/i/14585402', + }, + ], }, { key: 1,