mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(米家): 米家智惠广告, 设备固件升级提示弹窗 (#88)
* feat(米家): 米家智惠广告, 设备固件升级提示弹窗 * perf(米家): 智惠广告-增加准确性 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
29
src/apps/com.xiaomi.smarthome.ts
Normal file
29
src/apps/com.xiaomi.smarthome.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.xiaomi.smarthome',
|
||||
name: '米家',
|
||||
groups: [
|
||||
{
|
||||
key: 0,
|
||||
name: '米家智惠广告',
|
||||
activityIds: 'com.xiaomi.smarthome.SmartHomeMainActivity',
|
||||
rules: [
|
||||
{
|
||||
matches:
|
||||
'RelativeLayout[id=null] > ImageView[id!=null] + ImageView[clickable=true][id!=null]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12639658'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
enable: false,
|
||||
key: 1,
|
||||
name: '设备固件升级提示弹窗',
|
||||
activityIds: 'com.xiaomi.smarthome.framework.plugin.rn.PluginRNActivity',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12639671',
|
||||
rules:
|
||||
'[text*="检测到"&&text*="升级"] < ViewGroup + ViewGroup > Button > [text = "取消"]',
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user