mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-18 15:55:29 +08:00
perf: 软件包安装程序-自动安装应用 #1276
This commit is contained in:
@@ -8,14 +8,20 @@ export default defineGkdApp({
|
|||||||
key: 1,
|
key: 1,
|
||||||
name: '功能类-自动安装应用',
|
name: '功能类-自动安装应用',
|
||||||
fastQuery: true,
|
fastQuery: true,
|
||||||
|
forcedTime: 10000,
|
||||||
|
activityIds: [
|
||||||
|
'.PackageInstallerActivity',
|
||||||
|
'.FlymePackageInstallerActivity',
|
||||||
|
'.PackageInterceptActivity',
|
||||||
|
'.NewInstallInstalling',
|
||||||
|
'.InstallSuccess',
|
||||||
|
'.oplus.InstallAppProgress',
|
||||||
|
'.DeleteStagedFileOnResult',
|
||||||
|
],
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '点击[继续安装]',
|
name: '点击[继续安装]',
|
||||||
activityIds: [
|
|
||||||
'com.android.packageinstaller.PackageInstallerActivity',
|
|
||||||
'com.android.packageinstaller.FlymePackageInstallerActivity',
|
|
||||||
],
|
|
||||||
matches: '[text="继续安装"]',
|
matches: '[text="继续安装"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/i/13206444',
|
'https://i.gkd.li/i/13206444',
|
||||||
@@ -26,12 +32,6 @@ export default defineGkdApp({
|
|||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '点击[完成]',
|
name: '点击[完成]',
|
||||||
activityIds: [
|
|
||||||
'com.android.packageinstaller.NewInstallInstalling',
|
|
||||||
'com.android.packageinstaller.InstallSuccess',
|
|
||||||
'com.android.packageinstaller.oplus.InstallAppProgress',
|
|
||||||
'com.android.packageinstaller.FlymePackageInstallerActivity',
|
|
||||||
],
|
|
||||||
matches: '[text="完成"]',
|
matches: '[text="完成"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/i/13206476',
|
'https://i.gkd.li/i/13206476',
|
||||||
@@ -45,19 +45,13 @@ export default defineGkdApp({
|
|||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '点击[安装]',
|
name: '点击[安装]',
|
||||||
fastQuery: true,
|
activityIds: '.DeleteStagedFileOnResult',
|
||||||
activityIds: 'com.android.packageinstaller.DeleteStagedFileOnResult',
|
|
||||||
matches: '[vid="confirm_bottom_button_layout"]',
|
matches: '[vid="confirm_bottom_button_layout"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/14228348',
|
snapshotUrls: 'https://i.gkd.li/i/14228348',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
name: '勾选[已了解此应用未经检测,可能存在风险]',
|
name: '勾选[已了解此应用未经检测,可能存在风险]',
|
||||||
fastQuery: true,
|
|
||||||
activityIds: [
|
|
||||||
'com.android.packageinstaller.PackageInstallerActivity',
|
|
||||||
'.PackageInterceptActivity',
|
|
||||||
],
|
|
||||||
matches:
|
matches:
|
||||||
'[vid="checkbox" || vid="deleted_file_state_cb"][checked=false]',
|
'[vid="checkbox" || vid="deleted_file_state_cb"][checked=false]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
@@ -67,15 +61,10 @@ export default defineGkdApp({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 4,
|
key: 4,
|
||||||
fastQuery: true,
|
|
||||||
position: {
|
position: {
|
||||||
left: 'width * 1.5394',
|
left: 'width * 1.5394',
|
||||||
top: 'height * 0.5',
|
top: 'height * 0.5',
|
||||||
},
|
},
|
||||||
activityIds: [
|
|
||||||
'.PackageInstallerActivity',
|
|
||||||
'.DeleteStagedFileOnResult',
|
|
||||||
],
|
|
||||||
excludeMatches: '[text="继续安装" || text="完成"]',
|
excludeMatches: '[text="继续安装" || text="完成"]',
|
||||||
matches:
|
matches:
|
||||||
'LinearLayout[childCount=1] > Button[text="取消"][childCount=0]',
|
'LinearLayout[childCount=1] > Button[text="取消"][childCount=0]',
|
||||||
|
|||||||
Reference in New Issue
Block a user