From 8b82a55a0f3253fa5e01a7dca36d5c8d9270659a Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 13 Nov 2023 00:58:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=A7=A3=E5=8E=8B=E4=B8=93=E5=AE=B6):=20?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97=E3=80=81=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E4=B8=93=E4=B8=9A=E7=89=88=E5=BC=B9=E7=AA=97=20(#2038)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 广告弹窗 * feat 升级专业版弹窗 --- src/apps/com.fileunzip.zxwknight.ts | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/apps/com.fileunzip.zxwknight.ts diff --git a/src/apps/com.fileunzip.zxwknight.ts b/src/apps/com.fileunzip.zxwknight.ts new file mode 100644 index 00000000..1191fcfe --- /dev/null +++ b/src/apps/com.fileunzip.zxwknight.ts @@ -0,0 +1,31 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.fileunzip.zxwknight', + name: '解压专家', + groups: [ + { + key: 1, + name: '广告弹窗', + rules: [ + { + key: 0, + name: '字节广告', + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + matches: + '@Image[text=""] < View +n View > View > TextView[text="广告"]', + snapshotUrls: 'https://i.gkd.li/import/13328194', + }, + ], + }, + { + key: 2, + name: '升级专业版弹窗', + activityIds: 'com.fileunzip.zxwknight.activity.MainActivity', + rules: + '@[id="com.fileunzip.zxwknight:id/ziputil_dialog_imageview"] +n [text="升级到专业版"]', + snapshotUrls: 'https://i.gkd.li/import/13328212', + }, + ], +});