mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 01:35:32 +08:00
36 lines
1.2 KiB
TypeScript
36 lines
1.2 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.hihonor.magichome',
|
|
name: '荣耀智慧空间',
|
|
groups: [
|
|
{
|
|
key: 10,
|
|
name: '首页顶部广告',
|
|
activityIds: 'com.hihonor.magichome.business.MainActivity',
|
|
rules: '[id="com.hihonor.magichome:id/item_close_image"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12843930',
|
|
},
|
|
{
|
|
key: 11,
|
|
name: '推荐服务声明',
|
|
enable: false,
|
|
desc: '推荐服务声明弹窗。默认点击【取消】按钮',
|
|
activityIds: 'com.hihonor.magichome.business.MainActivity',
|
|
rules:
|
|
'[text$="推荐服务声明"] < LinearLayout < LinearLayout + LinearLayout > [id="com.hihonor.magichome:id/negative_btn"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12843976',
|
|
},
|
|
{
|
|
key: 12,
|
|
name: '升级提示',
|
|
desc: '点击以后再说',
|
|
activityIds: 'com.hihonor.magichome.business.MainActivity',
|
|
quickFind: true,
|
|
rules:
|
|
'TextView[text="立即更新"] -2 [id="com.hihonor.magichome:id/negative_btn"][text="以后再说"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12916700',
|
|
},
|
|
],
|
|
});
|