From 3e5ad3dae91e6d76382d955831663e4a15e4435e Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Wed, 1 Nov 2023 00:06:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8D=8E=E4=B8=BA=E8=BF=90=E5=8A=A8?= =?UTF-8?q?=E5=81=A5=E5=BA=B7):=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=20(#16?= =?UTF-8?q?46)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(华为运动健康):开屏广告 * 格式更正 * feat(华为运动健康): 开屏广告 --------- Co-authored-by: 二刺螈 close #1643 --- src/apps/com.huawei.health.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/apps/com.huawei.health.ts b/src/apps/com.huawei.health.ts index 66221717..6236b858 100644 --- a/src/apps/com.huawei.health.ts +++ b/src/apps/com.huawei.health.ts @@ -7,13 +7,21 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: ['com.huawei.health.MainActivity'], + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, rules: [ { matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', action: 'clickCenter', snapshotUrls: ['https://gkd-kit.gitee.io/import/12667766'], }, + { + matches: '[id="com.huawei.health:id/hiad_skip_text"]', + action: 'clickCenter', + snapshotUrls: ['https://gkd-kit.gitee.io/import/13215012'], + }, ], }, {