From 5fd19b53f76d6698c2a0b525fd66506c769a442f Mon Sep 17 00:00:00 2001 From: JammyLin Date: Thu, 16 Nov 2023 20:41:06 +0800 Subject: [PATCH] =?UTF-8?q?feat(CTM=20Buddy):=20=E5=BC=80=E5=B1=8F?= =?UTF-8?q?=E3=80=81=E5=BC=B9=E7=AA=97=E5=92=8C=E5=BA=95=E9=83=A8=E6=A8=AA?= =?UTF-8?q?=E5=B9=85=20(#2121)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(CTM Buddy): 开屏、弹窗和底部横幅 * feat(CTM Buddy): 规则优化 --------- Co-authored-by: lisonge --- src/apps/com.ctm.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/apps/com.ctm.ts diff --git a/src/apps/com.ctm.ts b/src/apps/com.ctm.ts new file mode 100644 index 00000000..c77ab4ca --- /dev/null +++ b/src/apps/com.ctm.ts @@ -0,0 +1,34 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.ctm', + name: 'CTM Buddy', + groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + quickFind: true, + actionMaximum: 1, + resetMatch: 'app', + rules: '[id="com.ctm:id/tv_skip_adv"]', + snapshotUrls: 'https://i.gkd.li/import/13350472', + }, + { + key: 1, + name: '浮窗广告', + quickFind: true, + activityIds: 'com.ctm.home.page.MainActivity', + rules: '[id="com.ctm:id/iv_close"]', + snapshotUrls: 'https://i.gkd.li/import/13350575', + }, + { + key: 2, + name: '底部横幅广告', + quickFind: true, + activityIds: 'com.ctm.home.page.MainActivity', + rules: '[id="com.ctm:id/btn_close"]', + snapshotUrls: 'https://i.gkd.li/import/13350612', + }, + ], +});