mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
feat(应用包管理组件): 自动更新应用-规则优化 (#1102)
* feat 自动安装应用(完善规则) * feat 自动更新应用(完善规则) * feat 自动安装应用-勾选【已了解此应用存在高风险】 增加 preKeys
This commit is contained in:
@@ -58,6 +58,7 @@ export default defineAppConfig({
|
|||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12889135',
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12889135',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
preKeys: 2,
|
||||||
key: 3,
|
key: 3,
|
||||||
desc: '勾选【已了解此应用存在高风险】',
|
desc: '勾选【已了解此应用存在高风险】',
|
||||||
activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||||
@@ -110,11 +111,16 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
desc: '点击【继续更新】',
|
desc: '点击【继续更新】',
|
||||||
activityIds:
|
activityIds: [
|
||||||
'com.miui.packageInstaller.ui.InstallPrepareAlertActivity',
|
'com.miui.packageInstaller.ui.InstallPrepareAlertActivity',
|
||||||
|
'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||||
|
],
|
||||||
matches:
|
matches:
|
||||||
'[text="取消更新"] < LinearLayout - @FrameLayout > LinearLayout > [text="继续更新"]',
|
'[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,
|
preKeys: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user