Files
AIsouler-GKD_subscription/src/apps/com.sup.android.superb.ts
AIsouler 1c5131c6f0 feat(皮皮虾):更新提示弹窗 (#3792)
* feat(皮皮虾):更新提示弹窗

* chore(actions): check_format_lint

* feat:规则优化

* chore(actions): check_format_lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-14 21:45:11 +08:00

50 lines
1.3 KiB
TypeScript

import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.sup.android.superb',
name: '皮皮虾',
groups: [
{
key: 1,
name: '青少年模式弹窗',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: '[text$="青少年模式"] + [text="我知道了"]',
snapshotUrls: 'https://i.gkd.li/import/13796869',
},
{
key: 5,
name: '请求开启通知权限弹窗',
quickFind: true,
actionMaximum: 1,
resetMatch: 'app',
rules: '[text="开启推送通知"] +2 * > [text="以后再说"]',
snapshotUrls: 'https://i.gkd.li/import/13691081',
},
{
key: 6,
name: '右上角红包悬浮窗',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
activityIds: 'com.sup.android.base.MainActivity',
rules:
'FrameLayout > RelativeLayout > @ImageView[clickable=true] + ImageView',
snapshotUrls: 'https://i.gkd.li/import/13624220',
},
{
key: 7,
quickFind: true,
name: '更新提示',
desc: '点击我再想想',
rules: [
{
matches: '[text="发现新版本"] +2 * > [text="我再想想"]',
snapshotUrls: 'https://i.gkd.li/import/13858490',
},
],
},
],
});