From b0cbc61f2355caa2b7d3bfc29958b90167ae6a03 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Wed, 17 Apr 2024 18:39:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=9A=AE=E7=9A=AE=E5=96=B5):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.gentle.ppcat.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/apps/com.gentle.ppcat.ts b/src/apps/com.gentle.ppcat.ts index 5c5a57aa..3cae209e 100644 --- a/src/apps/com.gentle.ppcat.ts +++ b/src/apps/com.gentle.ppcat.ts @@ -10,11 +10,11 @@ export default defineAppConfig({ matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - actionMaximumKey: 0, rules: [ { key: 0, - matches: '@FrameLayout - LinearLayout [text$="惊喜奖励"]', + quickFind: true, + matches: '@FrameLayout - LinearLayout >2 [text$="惊喜奖励"]', snapshotUrls: [ 'https://i.gkd.li/i/12777048', 'https://i.gkd.li/i/12858015', @@ -22,8 +22,9 @@ export default defineAppConfig({ }, { key: 1, + quickFind: true, matches: '[text="放弃奖励离开"]', - snapshotUrls: 'https://i.gkd.li/i/12777058', + snapshotUrls: 'https://i.gkd.li/i/15008493', }, { key: 2, @@ -33,11 +34,7 @@ export default defineAppConfig({ { key: 3, matches: '[desc="关闭喵"]', - snapshotUrls: [ - 'https://i.gkd.li/i/12777059', - 'https://i.gkd.li/i/12777054', // activityId: 'com.gentle.ppcat.MainActivity' - 'https://i.gkd.li/i/13797494', // activityId: 'com.hihonor.android.launcher.drawer.DrawerLauncher' - ], + snapshotUrls: 'https://i.gkd.li/i/13797494', }, ], },