From bd6e8fd6c123f0a8a8ed1bd8c19b810bbc98d386 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Wed, 20 Sep 2023 00:30:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B5=B7=E5=8D=97=E4=B8=80=E5=8D=A1?= =?UTF-8?q?=E9=80=9A):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A,=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=BC=B9=E7=AA=97=20(#190)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(海南一卡通) * 移动 ts 文件 --- src/apps/com.onecard.hainan.ts | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/apps/com.onecard.hainan.ts diff --git a/src/apps/com.onecard.hainan.ts b/src/apps/com.onecard.hainan.ts new file mode 100644 index 00000000..5345b739 --- /dev/null +++ b/src/apps/com.onecard.hainan.ts @@ -0,0 +1,42 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.onecard.hainan', + name: '海南一卡通', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: [ + 'com.hainan.renshe.app.ui.SplashActivity', + 'com.miui.home.launcher.Launcher', + ], + rules: [ + { + matches: '[id="com.onecard.hainan:id/tv_jump"][text$="跳过"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12662092', + 'https://gkd-kit.gitee.io/import/12662129', + ], + }, + ], + }, + { + key: 1, + name: '更新弹窗', + activityIds: [ + 'com.hainan.renshe.app.ui.SplashActivity', + 'com.miui.home.launcher.Launcher', + ], + rules: [ + { + matches: '@[text="暂不更新"] +(2) [text="立即更新"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12662114', + 'https://gkd-kit.gitee.io/import/12662136', + ], + }, + ], + }, + ], +});