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$="红包"]',