From d906ab137eec4546fce1ba40d37170a8fa321fde Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Fri, 6 Oct 2023 17:11:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8F=A4=E8=AF=97=E6=96=87=E7=BD=91):=20?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=86=85=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=20(#678)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/org.gushiwen.gushiwen.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/apps/org.gushiwen.gushiwen.ts diff --git a/src/apps/org.gushiwen.gushiwen.ts b/src/apps/org.gushiwen.gushiwen.ts new file mode 100644 index 00000000..0721220b --- /dev/null +++ b/src/apps/org.gushiwen.gushiwen.ts @@ -0,0 +1,29 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'org.gushiwen.gushiwen', + name: '古诗文网', + groups: [ + { + key: 1, + name: '应用内广告弹窗', + rules: [ + { + key: 0, + activityIds: 'org.gushiwen.gushiwen.HomeActivity', + matches: 'ImageView - FrameLayout > FrameLayout > ImageView', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12813618', + }, + { + preKeys: [0], + key: 10, + desc: '打赏页面-点击返回按钮', + activityIds: 'local.z.androidshared.vip.RewardActivity', + matches: + '[id="org.gushiwen.gushiwen:id/btn_back"][desc="返回"] + [text="打赏我们"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12813638', + }, + ], + }, + ], +});