mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 09:45:11 +08:00
31 lines
828 B
TypeScript
31 lines
828 B
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.xiaomi.smarthome',
|
|
name: '米家',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '局部广告-卡片广告',
|
|
activityIds: 'com.xiaomi.smarthome.SmartHomeMainActivity',
|
|
rules: [
|
|
{
|
|
matches:
|
|
'RelativeLayout[childCount=2] > ImageView[id!=null] + ImageView[clickable=true][id!=null]',
|
|
snapshotUrls: ['https://i.gkd.li/i/12639658'],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '更新提示-设备固件升级提示弹窗',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
snapshotUrls: 'https://i.gkd.li/i/12639671',
|
|
rules:
|
|
'[text*="检测到"&&text*="升级"] < ViewGroup + ViewGroup > Button > [text = "取消"]',
|
|
},
|
|
],
|
|
});
|