diff --git a/src/apps/com.android.packageinstaller.ts b/src/apps/com.android.packageinstaller.ts index 488f49ca..e45fc8f4 100644 --- a/src/apps/com.android.packageinstaller.ts +++ b/src/apps/com.android.packageinstaller.ts @@ -2,33 +2,35 @@ import { defineAppConfig } from '../types'; export default defineAppConfig({ id: 'com.android.packageinstaller', - name: 'vivo 软件包安装程序', + name: '软件包安装程序', groups: [ { key: 1, - name: '自动安装应用', + name: '功能类-自动安装应用', quickFind: true, rules: [ { key: 0, activityIds: 'com.android.packageinstaller.PackageInstallerActivity', - matches: '@LinearLayout > [text="继续安装"]', - snapshotUrls: 'https://i.gkd.li/import/13206444', + matches: '[text="继续安装"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13206444', + 'https://i.gkd.li/import/14046749', + ], }, { key: 1, - preKeys: 0, activityIds: 'com.android.packageinstaller.NewInstallInstalling', - matches: '@[clickable=true][childCount=1] > [text="完成"]', - snapshotUrls: 'https://i.gkd.li/import/13206476', - }, - { - key: 2, - preKeys: 0, - activityIds: 'com.android.packageinstaller.NewInstallInstalling', - matches: - '[id="com.android.packageinstaller:id/done_button"][text="完成"][clickable=true]', - snapshotUrls: 'https://i.gkd.li/import/13766420', + matches: [ + '@[clickable=true][childCount=1] > [text="完成"]', + '[id="com.android.packageinstaller:id/done_button"][clickable=true]', + ], + snapshotUrls: [ + 'https://i.gkd.li/import/13206476', //规则1 + //规则2 + 'https://i.gkd.li/import/13766420', + 'https://i.gkd.li/import/13962438', //text=null + ], }, ], },