mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
61 lines
1.6 KiB
TypeScript
61 lines
1.6 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.realtech.xiaocan',
|
|
name: '小蚕霸王餐',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
quickFind: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
actionMaximumKey: 1,
|
|
rules: [
|
|
{
|
|
key: 1,
|
|
matches: '[text^="跳过"][text.length<=10]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/12843368',
|
|
'https://i.gkd.li/i/13363222',
|
|
'https://i.gkd.li/i/13363246',
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
matches:
|
|
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/13694858',
|
|
'https://i.gkd.li/i/13794403',
|
|
'https://i.gkd.li/i/12854728',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '全屏广告-弹窗广告',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
activityIds: 'com.realtech.xiaocan.MainActivity',
|
|
matches:
|
|
'View[childCount=3] > View + ImageView + ImageView[clickable=true][childCount=0]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13694864',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '功能类-签到成功弹窗',
|
|
desc: '自动点击[关闭]按钮',
|
|
activityIds: 'com.realtech.xiaocan.MainActivity',
|
|
rules:
|
|
'[id="android:id/content"] >5 View[childCount=6] > ImageView[index=5][clickable=true]',
|
|
snapshotUrls: 'https://i.gkd.li/i/14290847',
|
|
},
|
|
],
|
|
});
|