From b8891a2534cb9cd81740230fcac1b86d05ddd538 Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Wed, 18 Oct 2023 00:18:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=B3=96=E5=BF=83Vlog):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A,=E5=B9=BF=E5=91=8A=E5=BC=B9?= =?UTF-8?q?=E7=AA=97,=E5=85=AC=E5=91=8A=E5=BC=B9=E7=AA=97=20(#1169)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(糖心Vlog) - 开屏广告 - 广告弹窗 - 公告弹窗 * chore(actions): check_format_lint * feat(糖心Vlog): 规则优化 --------- Co-authored-by: github-actions[bot] Co-authored-by: 二刺螈 --- src/apps/com.flutter3.ctangxin.vf0egg.ts | 45 ++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/apps/com.flutter3.ctangxin.vf0egg.ts diff --git a/src/apps/com.flutter3.ctangxin.vf0egg.ts b/src/apps/com.flutter3.ctangxin.vf0egg.ts new file mode 100644 index 00000000..04580acc --- /dev/null +++ b/src/apps/com.flutter3.ctangxin.vf0egg.ts @@ -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', + }, + ], + }, + ], +});