From ee327692523e7ff5d67220def61e85e2b070d65c Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 3 Dec 2023 16:36:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=A4=A9=E5=A4=A9=E8=A7=86=E9=A2=91):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=20(#2712)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 开屏广告 * feat 弹窗广告 --- src/apps/com.myapp.app.xaoorti.ts | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/apps/com.myapp.app.xaoorti.ts diff --git a/src/apps/com.myapp.app.xaoorti.ts b/src/apps/com.myapp.app.xaoorti.ts new file mode 100644 index 00000000..b70f8505 --- /dev/null +++ b/src/apps/com.myapp.app.xaoorti.ts @@ -0,0 +1,42 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.myapp.app.xaoorti', + name: '天天视频', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[id="com.myapp.app.xaoorti:id/ksad_splash_circle_skip_view"]', + snapshotUrls: 'https://i.gkd.li/import/13520474', + }, + { + key: 1, + name: '弹窗广告', + rules: [ + { + key: 0, + name: '快手广告', + activityIds: 'com.ys.resemble.ui.login.splash.SplashADSetActivity', + matches: [ + 'ViewGroup > ViewGroup > [text="广告"]', + 'ViewGroup[childCount=3] > TextView + TextView + ImageView[clickable=true]', + ], + snapshotUrls: 'https://i.gkd.li/import/13520475', + }, + { + key: 1, + name: '腾讯广告', + activityIds: 'com.ys.resemble.ui.login.splash.SplashADSetActivity', + matches: + 'ImageView - FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]', + snapshotUrls: 'https://i.gkd.li/import/13520477', + }, + ], + }, + ], +});