From 9ed4d404ec0ccad2c3481d429bb721c911d0f4b8 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 19 Oct 2023 00:46:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8D=8E=E4=B8=BA=E5=A4=A9=E6=B0=94):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A-=E8=A7=84=E5=88=99?= =?UTF-8?q?=E4=BC=98=E5=8C=96=20(#1204)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #1178 --- src/apps/com.huawei.android.totemweather.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/apps/com.huawei.android.totemweather.ts b/src/apps/com.huawei.android.totemweather.ts index cb32534b..8dd8e848 100644 --- a/src/apps/com.huawei.android.totemweather.ts +++ b/src/apps/com.huawei.android.totemweather.ts @@ -9,8 +9,13 @@ export default defineAppConfig({ name: '开屏广告', activityIds: 'com.huawei.android.totemweather.WeatherHome', matchLauncher: true, - rules: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12928975', + rules: [ + { + matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', + action: 'clickCenter', // 根据 https://github.com/gkd-kit/subscription/pull/1180#issuecomment-1767735683 反馈,此处使用 clickCenter 事件。 + snapshotUrls: 'https://gkd-kit.gitee.io/import/12928975', + }, + ], }, ], });