mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-24 02:35:25 +08:00
29 lines
710 B
TypeScript
29 lines
710 B
TypeScript
import { defineGkdApp } from '@gkd-kit/define';
|
|
|
|
export default defineGkdApp({
|
|
id: 'cn.xuexi.android',
|
|
name: '学习强国',
|
|
groups: [
|
|
{
|
|
key: 1,
|
|
name: '更新提示',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: '@[text="取消"] + [text="立即升级"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12715139',
|
|
},
|
|
{
|
|
key: 10,
|
|
name: '权限提示-通知权限',
|
|
desc: '自动点击x按钮',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules:
|
|
'[text^="开启消息通知"] +2 [id="cn.xuexi.android:id/layout_close"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12715160',
|
|
},
|
|
],
|
|
});
|