Files
AIsouler-GKD_subscription/src/apps/com.thestore.main.ts
2023-11-10 10:16:32 +08:00

36 lines
964 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.thestore.main',
name: '1号会员店',
groups: [
{
key: 0,
name: '开屏广告',
matchLauncher: true,
quickFind: true,
activityIds: 'com.thestore.main.LoadingActivity',
rules: [
{
matches: '[id="com.thestore.main:id/ll_skip"] > [text="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/13163668',
},
],
},
{
key: 1,
enable: false,
name: '促销广告',
desc: '关闭促销弹窗,也许有用呢',
activityIds: 'com.thestore.main.app.home.HomeActivity',
rules: [
{
matches: '[id="com.thestore.main.home.feature:id/ad"] > TextView',
//TextView有id类似".../j"担心这个id是随机的所以用了TextView而不是id
snapshotUrls: 'https://i.gkd.li/import/13163686',
},
],
},
],
});