Files
AIsouler-GKD_subscription/src/apps/com.reddit.frontpage.ts
2024-02-23 21:42:34 +08:00

38 lines
882 B
TypeScript

import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.reddit.frontpage',
name: 'Reddit',
groups: [
{
enable: false,
key: 3,
name: '更新提示-社区消息',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches: '[id="com.reddit.frontpage:id/cancel_button"]',
snapshotUrls: 'https://i.gkd.li/i/13649914',
},
],
},
{
key: 4,
name: '功能类-NSFW 内容提示',
desc: '自动点击 continue',
quickFind: true,
enable: false,
rules: [
{
activityIds: 'com.reddit.launch.main.MainActivity',
matches: 'Button[text="Cancel"] + Button[text="Continue"]',
snapshotUrls: 'https://i.gkd.li/i/13649992',
},
],
},
],
});