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', + }, + ], +});