mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
39 lines
1.2 KiB
TypeScript
39 lines
1.2 KiB
TypeScript
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',
|
||
],
|
||
},
|
||
],
|
||
},
|
||
],
|
||
});
|