From 74a17aef2c7515d95f64504c2bf6522e82bf460d Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Fri, 20 Oct 2023 00:26:15 +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=E8=87=AA=E5=8A=A8=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=BA=94=E7=94=A8-=E8=A7=84=E5=88=99=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20(#1234)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.miui.packageinstaller.ts | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/apps/com.miui.packageinstaller.ts b/src/apps/com.miui.packageinstaller.ts index 21022bb7..342ec48f 100644 --- a/src/apps/com.miui.packageinstaller.ts +++ b/src/apps/com.miui.packageinstaller.ts @@ -123,10 +123,20 @@ export default defineAppConfig({ 'https://gkd-kit.songe.li/import/12910080', ], }, + { + key: 1, + desc: '点击【继续更新】', + activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity', + matches: '@[text="继续更新"] + [text="取消更新"]', + snapshotUrls: [ + 'https://gkd-kit.songe.li/import/13024731', + 'https://gkd-kit.songe.li/import/13038465', + ], + }, // 需勾选【已了解此安装包未经安全检测】才能继续更新 { - key: 1, + key: 2, desc: '勾选【已了解此安装包未经安全检测】', activityIds: [ 'com.miui.packageInstaller.ui.InstallPrepareAlertActivity', @@ -139,18 +149,10 @@ export default defineAppConfig({ 'https://gkd-kit.songe.li/import/13024731', // 已勾选 ], }, - { - preKeys: 1, - key: 2, - desc: '点击【继续更新', - activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity', - matches: '@[text="继续更新"] + [text="取消更新"]', - snapshotUrls: 'https://gkd-kit.songe.li/import/13024731', - }, // 更新完成 { - preKeys: [0, 2], + preKeys: [0, 1], key: 3, desc: '点击【完成】', activityIds: