Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions src/apps/com.google.android.packageinstaller.ts
Original file line number Diff line number Diff line change
@@ -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',
],
},
],
},
],
});