feat(糖心Vlog): 开屏广告,广告弹窗,公告弹窗 (#1169)

* feat(糖心Vlog)

- 开屏广告
- 广告弹窗
- 公告弹窗

* chore(actions): check_format_lint

* feat(糖心Vlog): 规则优化

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二刺螈 <i@songe.li>
This commit is contained in:
jiuqianyuan
2023-10-18 00:18:32 +08:00
committed by GitHub
parent ef775b62ae
commit b8891a2534

View File

@@ -0,0 +1,45 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.flutter3.ctangxin.vf0egg',
name: '糖心Vlog',
groups: [
{
enable: false,
key: 0,
name: '开屏广告',
desc: '虚假按钮,实际点击无法跳过,规则暂时保留',
activityIds: ['com.example.flutter3_frame.MainActivity'],
rules: [
{
matches:
'FrameLayout > View > View > View > View > @View[clickable=true && desc.length=2] + ImageView[childCount=1]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12836857',
},
],
},
{
key: 1,
name: '广告弹窗',
activityIds: ['com.example.flutter3_frame.MainActivity'],
rules: [
{
matches:
'FrameLayout > View > View > View[index=0] > View > ImageView[childCount=1] + View[clickable=true && desc=null]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12836891',
},
],
},
{
key: 2,
name: '公告弹窗',
activityIds: ['com.example.flutter3_frame.MainActivity'],
rules: [
{
matches: '@[desc="取消"][clickable=true] + [desc="确定"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12836854',
},
],
},
],
});