From 450de25e963138addec61c5c6544c7d4f4e16dcc Mon Sep 17 00:00:00 2001 From: xiaowonet <33050133+xiaowonet@users.noreply.github.com> Date: Fri, 8 Dec 2023 21:59:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B7=98=E5=AE=9D):=20=E5=B0=86=E5=B0=8F?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=B7=BB=E5=8A=A0=E5=88=B0=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E6=A1=8C=E9=9D=A2=20(#2923)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 二刺螈 --- src/apps/com.taobao.taobao.ts | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/apps/com.taobao.taobao.ts b/src/apps/com.taobao.taobao.ts index b24f86c4..835d9b2a 100644 --- a/src/apps/com.taobao.taobao.ts +++ b/src/apps/com.taobao.taobao.ts @@ -153,6 +153,20 @@ export default defineAppConfig({ { enable: false, key: 14, + name: '将小组件添加到手机桌面', + desc: '点击取消', + activityIds: 'com.alibaba.triver.container.TriverMainActivity', + rules: [ + { + action: 'clickCenter', + matches: 'View[text="立即添加"] + View[text="取消"]', + snapshotUrls: 'https://i.gkd.li/import/13598578', + }, + ], + }, + { + enable: false, + key: 15, name: '开启悬浮窗权限', desc: '点击“否”', activityIds: @@ -161,7 +175,12 @@ export default defineAppConfig({ actionMaximum: 1, resetMatch: 'activity', matchTime: 10000, - rules: '[id="android:id/button2"]', + rules: { + matches: [ + '[id="android:id/message"][text*="悬浮窗权限"]', + '[id="android:id/button2"][text="否"]', + ], + }, snapshotUrls: 'https://i.gkd.li/import/13588165', }, ],