From 10117c0b9b2a1ee7110cfb26d56d547152364e01 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 5 Nov 2023 23:13:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8D=8E=E4=B8=BA=E5=A4=A9=E6=B0=94):=20?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E5=8D=A1=E7=89=87=EF=BC=88=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89=20(#1864)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.huawei.android.totemweather.ts | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/apps/com.huawei.android.totemweather.ts b/src/apps/com.huawei.android.totemweather.ts index fee372a7..279b62cf 100644 --- a/src/apps/com.huawei.android.totemweather.ts +++ b/src/apps/com.huawei.android.totemweather.ts @@ -31,8 +31,21 @@ export default defineAppConfig({ quickFind: true, activityIds: 'com.huawei.android.totemweather.composite.MarketCompositeActivity', - rules: '[id="com.huawei.android.totemweather:id/promote_ad_cancel"]', - snapshotUrls: 'https://i.gkd.li/import/13218197', + rules: [ + { + key: 0, + matches: + '[id="com.huawei.android.totemweather:id/promote_ad_cancel"]', + snapshotUrls: 'https://i.gkd.li/import/13218197', + }, + { + preKeys: 0, + key: 1, + matches: + '[id="com.huawei.android.totemweather:id/feedback_negative_flv"] > [text="直接关闭"]', + snapshotUrls: 'https://i.gkd.li/import/13259434', + }, + ], }, ], });