mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
52 lines
1.3 KiB
TypeScript
52 lines
1.3 KiB
TypeScript
import { defineGkdApp } from '@gkd-kit/define';
|
|
|
|
export default defineGkdApp({
|
|
id: 'com.wan.tools',
|
|
name: '下载工具箱',
|
|
groups: [
|
|
{
|
|
key: 1,
|
|
name: '通知提示-公告弹窗',
|
|
fastQuery: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
activityIds: 'com.one.downloadtools.ui.activity.HomeActivity',
|
|
matches:
|
|
'LinearLayout[childCount=2] > @[text="取消"] + [text="确认"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13392027',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '功能类-自动识别解析链接',
|
|
rules: [
|
|
{
|
|
fastQuery: true,
|
|
activityIds: 'com.one.downloadtools.ui.activity.HomeActivity',
|
|
matches: '[text="识别解析"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13392085',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '全屏广告-开通会员弹窗',
|
|
fastQuery: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
activityIds: 'com.one.downloadtools.ui.activity.HomeActivity',
|
|
matches: ['[text^="开通会员"]', '[text="暂不"]'],
|
|
snapshotUrls: 'https://i.gkd.li/i/13392112',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|