From 5da7a279d12350763643e55ee936d68efb10c254 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 2 Oct 2023 22:56:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=9A=AE=E7=9A=AE=E5=96=B5):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=20(#560)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.gentle.ppcat.ts | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/apps/com.gentle.ppcat.ts diff --git a/src/apps/com.gentle.ppcat.ts b/src/apps/com.gentle.ppcat.ts new file mode 100644 index 00000000..8cc03bcd --- /dev/null +++ b/src/apps/com.gentle.ppcat.ts @@ -0,0 +1,45 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.gentle.ppcat', + name: '皮皮喵', + groups: [ + { + key: 0, + name: '开屏广告', + rules: [ + { + key: 0, + activityIds: 'com.qq.e.ads.PortraitADActivity', + matches: + '[text$="惊喜奖励"] FrameLayout > ImageView', + snapshotUrls: 'https://gkd-kit.songe.li/import/12777048', + }, + { + key: 1, + activityIds: 'com.qq.e.ads.PortraitADActivity', + matches: '[text="放弃奖励离开"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12777058', + }, + { + key: 2, + activityIds: 'com.qq.e.ads.PortraitADActivity', + matches: '@ImageView - WebView > [text="优量汇-插屏视频endcard"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12777051', + }, + { + key: 3, + activityIds: [ + 'com.qq.e.ads.PortraitADActivity', + 'com.gentle.ppcat.MainActivity', + ], + matches: '[desc="关闭喵"]', + snapshotUrls: [ + 'https://gkd-kit.songe.li/import/12777059', + 'https://gkd-kit.songe.li/import/12777054', // activityId: 'com.gentle.ppcat.MainActivity' + ], + }, + ], + }, + ], +});