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', + }, + ], }, ], });