From de0c795a5b337da2584fb9bf12c230aa1d91572c Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 11 Jul 2025 15:01:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BE=AE=E4=BF=A1-=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E7=B1=BB-=E8=87=AA=E5=8A=A8=E9=A2=86=E5=8F=96=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E7=BA=A2=E5=8C=85=20#1036?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mm.ts | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/apps/com.tencent.mm.ts b/src/apps/com.tencent.mm.ts index f04eec68..0963ea18 100644 --- a/src/apps/com.tencent.mm.ts +++ b/src/apps/com.tencent.mm.ts @@ -189,7 +189,7 @@ export default defineGkdApp({ fastQuery: true, rules: [ { - key: 3, + key: 1, name: '点击别人发的红包', activityIds: '.ui.LauncherUI', matches: @@ -201,16 +201,23 @@ export default defineGkdApp({ ], }, { - preKeys: [3], - key: 4, + preKeys: [1], + key: 2, name: '点击红包-开', - activityIds: '.plugin.luckymoney.ui.LuckyMoneyNotHookReceiveUI', + matchRoot: true, + activityIds: [ + '.plugin.luckymoney.ui.LuckyMoneyNotHookReceiveUI', + '.plugin.luckymoney.ui.LuckyMoneyNewReceiveUI', + ], matches: '@Button[desc="开"] -3 LinearLayout >2 [text$="红包"]', - snapshotUrls: 'https://i.gkd.li/i/18134828', + snapshotUrls: [ + 'https://i.gkd.li/i/18134828', + 'https://i.gkd.li/i/21177180', + ], excludeSnapshotUrls: 'https://i.gkd.li/i/12567698', // 金币动画的快照 }, { - preKeys: [3, 4], + preKeys: [1, 2], name: '从红包结算界面返回', activityIds: '.plugin.luckymoney.ui.LuckyMoneyDetailUI', matches: '@ImageView[desc="返回"] +2 LinearLayout >8 [text$="红包"]',