Files
AIsouler-GKD_subscription/src/apps/com.google.android.packageinstaller.ts
aisouler 30566b3310 Squashed commit of the following:
commit 48ce1d804477cfd4eddee7c029a2adf1981ad978
Author: aisouler <zy43220@gmail.com>
Date:   Thu Jan 25 15:26:00 2024 +0800

    feat(软件包安装程序):自动安装/更新软件
2024-02-01 18:35:19 +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/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',
],
},
],
},
],
});