feat(解压专家): 广告弹窗、升级专业版弹窗 (#2038)

* feat 广告弹窗

* feat 升级专业版弹窗
This commit is contained in:
Kun Jinkao 2023-11-13 00:58:19 +08:00 committed by GitHub
parent 686fcf67ef
commit 8b82a55a0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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