From 3f823ac4ab72f627c9ba3c55a354969238d4de81 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Tue, 26 Sep 2023 23:33:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B5=B7=E5=B0=94=E6=99=BA=E5=AE=B6):=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BC=B9=E7=AA=97,=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=9D=83=E9=99=90=E5=BC=B9=E7=AA=97=20(#392)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.haier.uhome.uplus.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/apps/com.haier.uhome.uplus.ts diff --git a/src/apps/com.haier.uhome.uplus.ts b/src/apps/com.haier.uhome.uplus.ts new file mode 100644 index 00000000..568c6bf4 --- /dev/null +++ b/src/apps/com.haier.uhome.uplus.ts @@ -0,0 +1,29 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.haier.uhome.uplus', + name: '海尔智家', + groups: [ + { + key: 1, + name: '更新弹窗', + activityIds: [ + 'com.haier.uhome.uplus.upgradeui.ui.UpgradeDialogActivity', + 'com.huawei.android.launcher.unihome.UniHomeLauncher', + ], + rules: '@[text="取消"] + [text="立即更新"||text="立即安装"]', + snapshotUrls: [ + 'https://gkd-kit.songe.li/import/12726844', + 'https://gkd-kit.songe.li/import/12726801', // activityId: 'com.huawei.android.launcher.unihome.UniHomeLauncher' + ], + }, + { + enable: false, + key: 10, + name: '请求通知权限弹窗', + activityIds: 'com.haier.uhome.uplus.ui.widget.MPermissionCheckDialog', + rules: '[text*="通知栏权限"] +n LinearLayout > [text="取消"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12726829', + }, + ], +});