From cd371858ac3f764519dc446a0632de9c9f1799ce Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sat, 24 Feb 2024 17:36:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=BA=94=E7=94=A8=E5=8C=85=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=BB=84=E4=BB=B6)=20=E5=8A=9F=E8=83=BD=E7=B1=BB-?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=AE=89=E8=A3=85=E5=BA=94=E7=94=A8=EF=BC=88?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E3=80=81=E4=BC=98=E5=8C=96=E8=A7=84=E5=88=99?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.miui.packageinstaller.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/apps/com.miui.packageinstaller.ts b/src/apps/com.miui.packageinstaller.ts index c2b77278..4aaa2dd9 100644 --- a/src/apps/com.miui.packageinstaller.ts +++ b/src/apps/com.miui.packageinstaller.ts @@ -45,19 +45,20 @@ export default defineAppConfig({ 'com.miui.packageInstaller.ui.InstallPrepareAlertActivity', 'com.miui.packageInstaller.NewInstallerPrepareActivity', ], - matches: - '[text="取消安装"] < LinearLayout - @FrameLayout > LinearLayout > [text="继续安装"]', + matches: ['[text="取消安装"]', '[text="继续安装"]'], snapshotUrls: [ 'https://i.gkd.li/i/12818034', 'https://i.gkd.li/i/12818054', + 'https://i.gkd.li/i/12889120', ], }, { key: 1, - name: '点击"继续安装"', + name: '点击"继续"', activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity', - matches: '@[text="继续安装"] + [text="取消安装"]', - snapshotUrls: 'https://i.gkd.li/i/12889120', + quickFind: true, + matches: '@[text="取消"] - * >2 [text="继续"]', + snapshotUrls: 'https://i.gkd.li/i/14392314', }, // 需勾选"已了解此应用未经安全检测"才能继续安装