mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
55 lines
1.6 KiB
TypeScript
55 lines
1.6 KiB
TypeScript
import { defineAppConfig } from '../types';
|
||
|
||
export default defineAppConfig({
|
||
id: 'com.flutter3.ctangxin.vf0egg', // 注意 appId 有随机后缀, 每个版本都变,需修改为你自己的 appId
|
||
name: '糖心Vlog',
|
||
groups: [
|
||
{
|
||
key: 0,
|
||
name: '开屏广告',
|
||
desc: '虚假按钮,实际点击无法跳过,规则暂时保留',
|
||
matchTime: 10000,
|
||
actionMaximum: 1,
|
||
resetMatch: 'app',
|
||
rules: [
|
||
{
|
||
matches:
|
||
'FrameLayout > View > View > View > View > @View[clickable=true && desc.length=2] + ImageView[childCount=1]',
|
||
snapshotUrls: 'https://i.gkd.li/i/12836857',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 1,
|
||
name: '全屏广告-广告弹窗', // 目前已叠加了三层广告
|
||
//matchDelay: 6500, // 待无法跳过的5s开屏广告过后,能够主动执行匹配
|
||
matchTime: 10000,
|
||
actionCd: 100,
|
||
resetMatch: 'app',
|
||
activityIds: 'com.example.flutter3_frame.MainActivity',
|
||
rules: [
|
||
{
|
||
action: 'back',
|
||
matches:
|
||
'FrameLayout > View > View > View[index=0] > View > ImageView[childCount=1] + View[clickable=true && desc=null]',
|
||
snapshotUrls: 'https://i.gkd.li/i/12836891',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 2,
|
||
name: '全屏广告-公告弹窗',
|
||
matchTime: 10000,
|
||
resetMatch: 'app',
|
||
activityIds: 'com.example.flutter3_frame.MainActivity',
|
||
rules: [
|
||
{
|
||
action: 'back',
|
||
matches: '[desc="公告"] +2 [desc="取消"][clickable=true]',
|
||
snapshotUrls: 'https://i.gkd.li/i/12836854',
|
||
},
|
||
],
|
||
},
|
||
],
|
||
});
|