mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 17:25:11 +08:00
63 lines
1.8 KiB
TypeScript
63 lines
1.8 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.mi.health',
|
|
name: '小米运动健康',
|
|
groups: [
|
|
{
|
|
key: 1,
|
|
name: '好评弹窗',
|
|
activityIds: 'com.xiaomi.fitness.baseui.common.CommonBaseActivity',
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules: '[id="com.mi.health:id/nextView"][text="下次再说"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13258813',
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '权限提醒',
|
|
activityIds: 'com.xiaomi.fitness.main.MainActivity',
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules: '[text="开启后台无限制"] + [id="com.mi.health:id/close_icon"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13495035',
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '活动弹窗',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
activityIds: 'com.xiaomi.fitness.main.MainActivity',
|
|
quickFind: true,
|
|
matches:
|
|
'[id="com.mi.health:id/cardview"] + [id="com.mi.health:id/dialog_close"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13537836',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 4,
|
|
name: '版本更新',
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules: [
|
|
{
|
|
activityIds: 'com.xiaomi.fitness.main.MainActivity',
|
|
matches: '[text^="发现新版本"] < * + * >n [text="放弃更新"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13537840',
|
|
},
|
|
{
|
|
activityIds: 'com.mi.health.home.HomeActivity',
|
|
matches:
|
|
'[text="立即更新"] + [id="com.mi.health:id/tv_negative"][text="取消"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13626328',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|