From d4ea82e38d09b6b08486253cd06680af0ef1fdf3 Mon Sep 17 00:00:00 2001 From: AIsouler <57941037+AIsouler@users.noreply.github.com> Date: Sun, 28 Jan 2024 13:18:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(UPUPOO=E5=8A=A8=E6=80=81=E5=A3=81=E7=BA=B8?= =?UTF-8?q?):=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=A7=84=E5=88=99=EF=BC=89=E3=80=81=E9=9D=92=E5=B0=91?= =?UTF-8?q?=E5=B9=B4=E6=A8=A1=E5=BC=8F=20(#4084)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #4083 --- src/apps/com.upupoo.apu.mobile.ts | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/apps/com.upupoo.apu.mobile.ts b/src/apps/com.upupoo.apu.mobile.ts index c2962e47d..496f4d641 100644 --- a/src/apps/com.upupoo.apu.mobile.ts +++ b/src/apps/com.upupoo.apu.mobile.ts @@ -10,8 +10,27 @@ export default defineAppConfig({ matchTime: 10000, resetMatch: 'app', actionMaximum: 1, - rules: '[id="android:id/content"] >n FrameLayout[childCount=4] > View', - snapshotUrls: 'https://i.gkd.li/import/13830230', + rules: + 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', + snapshotUrls: [ + 'https://i.gkd.li/import/13830230', + 'https://i.gkd.li/import/14052232', + ], + }, + { + key: 1, + name: '青少年模式', + desc: '点击"我知道了"', + matchTime: 10000, + resetMatch: 'app', + actionMaximum: 1, + rules: [ + { + activityIds: 'com.upupoo.apu.mobile.MainActivity', + matches: '[desc="青少年模式"] +3 [desc="我知道了"]', + snapshotUrls: 'https://i.gkd.li/import/14052188', + }, + ], }, ], });