mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 06:32:21 +08:00
feat(软件包安装程序(Google)):自动安装/更新/取消
feat(软件包安装程序(Google)):自动安装/更新/取消 bug(软件包安装程序(Google)):自动点击完成暂时无法工作,暂时不清楚原因 安装过程的快照: https://i.gkd.li/import/13914647 (开始安装) https://i.gkd.li/import/13915290 (安装过程) https://i.gkd.li/import/13914864 (安装完毕) 蹲一个大佬修复 Signed-off-by: PianCat <50688679+PianCat@users.noreply.github.com>
This commit is contained in:
parent
04cb5362de
commit
5060f1fa85
78
src/apps/com.google.android.packageinstaller.ts
Normal file
78
src/apps/com.google.android.packageinstaller.ts
Normal file
|
@ -0,0 +1,78 @@
|
|||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.google.android.packageinstaller',
|
||||
name: '原生软件包安装程序(Google)',
|
||||
groups: [
|
||||
{
|
||||
enable: false,
|
||||
key: 1,
|
||||
name: '功能类-自动安装应用',
|
||||
quickFind: true,
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
activityIds: [
|
||||
'com.android.packageinstaller.PackageInstallerActivity',
|
||||
'com.android.packageinstaller.DeleteStagedFileOnResult',
|
||||
],
|
||||
matches: '[text="安装"]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/13914644',
|
||||
'https://i.gkd.li/import/13914647',
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
preKeys: 0,
|
||||
activityIds: ['com.android.packageinstaller.InstallSuccess'],
|
||||
matches: '[text="完成"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13914923',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
enable: false,
|
||||
key: 2,
|
||||
name: '功能类-自动更新应用',
|
||||
quickFind: true,
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
activityIds: [
|
||||
'com.android.packageinstaller.PackageInstallerActivity',
|
||||
'com.android.packageinstaller.DeleteStagedFileOnResult',
|
||||
],
|
||||
matches: '[text="更新"]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/13914644',
|
||||
'https://i.gkd.li/import/13914647',
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
preKeys: 0,
|
||||
activityIds: ['com.android.packageinstaller.InstallSuccess'],
|
||||
matches: '[text="完成"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13914923',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
enable: false,
|
||||
key: 3,
|
||||
quickFind: true,
|
||||
name: '功能类-自动取消安装应用',
|
||||
activityIds: [
|
||||
'com.android.packageinstaller.PackageInstallerActivity',
|
||||
'com.android.packageinstaller.DeleteStagedFileOnResult',
|
||||
],
|
||||
rules: [
|
||||
{
|
||||
matches: '[text="取消"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13914647',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
Loading…
Reference in New Issue
Block a user