From a8df26488bb614280a452b77ba056922059f797a Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Wed, 20 Sep 2023 00:27:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=98=A5=E9=9B=A8=E5=8C=BB=E7=94=9F):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A,=20=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E8=AF=84=E5=88=86=E5=BC=B9=E7=AA=97=20=20(#189)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(春雨医生) * 移动 ts 文件 --- src/apps/me.chunyu.ChunyuDoctor.ts | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/apps/me.chunyu.ChunyuDoctor.ts diff --git a/src/apps/me.chunyu.ChunyuDoctor.ts b/src/apps/me.chunyu.ChunyuDoctor.ts new file mode 100644 index 00000000..dffe66f0 --- /dev/null +++ b/src/apps/me.chunyu.ChunyuDoctor.ts @@ -0,0 +1,44 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'me.chunyu.ChunyuDoctor', + name: '春雨医生', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: [ + 'me.chunyu.ChunyuDoctor.Activities.WelcomeActivity', + 'com.miui.home.launcher.Launcher', + ], + rules: [ + { + matches: + '[id="me.chunyu.ChunyuDoctor:id/tv_ad_label"] +(2) [id="me.chunyu.ChunyuDoctor:id/welcome_tv_timer"][text^="跳过"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12661722', + 'https://gkd-kit.gitee.io/import/12661937', + ], + }, + ], + }, + { + key: 10, + name: '应用评分弹窗', + activityIds: [ + 'me.chunyu.ChunyuDoctor.Activities.WelcomeActivity', + 'me.chunyu.ChunyuDoctor.Activities.MainActivity', + ], + rules: [ + { + matches: + '[text="给应用评分"] +(2) RelativeLayout > [text="下次再说"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12661907', + 'https://gkd-kit.gitee.io/import/12661924', + ], + }, + ], + }, + ], +});