From b1e86d1d77c9181f729e29e007607dada474cefc Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 20 Nov 2023 20:43:16 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=81=94=E6=83=B3=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E4=B8=AD=E5=BF=83):=20=E6=9B=B4=E6=96=B0=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E3=80=81=E8=AF=B7=E6=B1=82=E9=80=9A=E7=9F=A5=E6=9D=83=E9=99=90?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=20(#2258)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.lenovo.leos.appstore.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/apps/com.lenovo.leos.appstore.ts diff --git a/src/apps/com.lenovo.leos.appstore.ts b/src/apps/com.lenovo.leos.appstore.ts new file mode 100644 index 00000000..c63d29b3 --- /dev/null +++ b/src/apps/com.lenovo.leos.appstore.ts @@ -0,0 +1,27 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.lenovo.leos.appstore', + name: '联想应用中心', + groups: [ + { + key: 0, + name: '更新弹窗', + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: + '@[id="com.lenovo.leos.appstore:id/dialog_cancel"] + [text$="版本更新"]', + snapshotUrls: 'https://i.gkd.li/import/13401992', + }, + { + key: 1, + name: '请求通知权限弹窗', + activityIds: + 'com.lenovo.leos.appstore.activities.NotificationGuideActivity', + quickFind: true, + rules: '[text$="打开应用中心通知"] +n [text="知道了"]', + snapshotUrls: 'https://i.gkd.li/import/13401991', + }, + ], +});