Files
AIsouler-GKD_subscription/src/apps/com.google.android.packageinstaller.ts
2024-02-23 21:42:34 +08:00

39 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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/i/14046939',
},
{
key: 2,
matches: 'LinearLayout[childCount=2] > [text="更新"][clickable=true]',
snapshotUrls: [
'https://i.gkd.li/i/14047571',
'https://i.gkd.li/i/14047854', // 重叠情况的快照
],
},
{
key: 3,
matches: 'LinearLayout[childCount=2] > [text="完成"][clickable=true]',
snapshotUrls: [
'https://i.gkd.li/i/14047514',
'https://i.gkd.li/i/14047969',
],
},
],
},
],
});