mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-23 02:05:06 +08:00
Squashed commit of the following:
commit 48ce1d804477cfd4eddee7c029a2adf1981ad978 Author: aisouler <zy43220@gmail.com> Date: Thu Jan 25 15:26:00 2024 +0800 feat(软件包安装程序):自动安装/更新软件
This commit is contained in:
38
src/apps/com.google.android.packageinstaller.ts
Normal file
38
src/apps/com.google.android.packageinstaller.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.google.android.packageinstaller',
|
||||
name: '软件包安装程序',
|
||||
groups: [
|
||||
{
|
||||
// 由于该软件包安装程序存在更新、安装重叠的情况,且安装\更新后和重叠时activityid都不同,
|
||||
// 尚不明确安装、更新、重叠三种情况混合时的activityid,故去掉activityIds字段
|
||||
key: 1,
|
||||
name: '功能类-自动安装/更新软件',
|
||||
quickFind: true,
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
matches: 'LinearLayout[childCount=2] > [text="安装"][clickable=true]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/14046939',
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
matches: 'LinearLayout[childCount=2] > [text="更新"][clickable=true]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/14047571',
|
||||
'https://i.gkd.li/import/14047854', // 重叠情况的快照
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
matches: 'LinearLayout[childCount=2] > [text="完成"][clickable=true]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/14047514',
|
||||
'https://i.gkd.li/import/14047969',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user