feat(应用包管理组件): 自动更新应用-规则优化 (#1102)

* feat 自动安装应用(完善规则)

* feat 自动更新应用(完善规则)

* feat 自动安装应用-勾选【已了解此应用存在高风险】 增加 preKeys
This commit is contained in:
Kun Jinkao 2023-10-16 00:54:53 +08:00 committed by GitHub
parent 778bcb67bd
commit 1a763542c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ export default defineAppConfig({
snapshotUrls: 'https://gkd-kit.gitee.io/import/12889135',
},
{
preKeys: 2,
key: 3,
desc: '勾选【已了解此应用存在高风险】',
activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity',
@ -110,11 +111,16 @@ export default defineAppConfig({
{
key: 0,
desc: '点击【继续更新】',
activityIds:
activityIds: [
'com.miui.packageInstaller.ui.InstallPrepareAlertActivity',
'com.miui.packageInstaller.NewInstallerPrepareActivity',
],
matches:
'[text="取消更新"] < LinearLayout - @FrameLayout > LinearLayout > [text="继续更新"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12817988',
snapshotUrls: [
'https://gkd-kit.songe.li/import/12817988',
'https://gkd-kit.songe.li/import/12910080',
],
},
{
preKeys: 0,