mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(米游社): 开屏广告, 青少年模式, 版本更新提示 (#225)
* 米游社 版本更新提示 * feat(米游社) * 完善青少年模式弹窗规则 --------- Co-authored-by: Cheng <184034037@qq.com>
This commit is contained in:
@@ -10,15 +10,29 @@ export default defineAppConfig({
|
|||||||
activityIds: [
|
activityIds: [
|
||||||
'com.mihoyo.hyperion.ui.SplashActivity',
|
'com.mihoyo.hyperion.ui.SplashActivity',
|
||||||
'com.mihoyo.hyperion.splash.SplashActivity',
|
'com.mihoyo.hyperion.splash.SplashActivity',
|
||||||
|
'com.miui.home.launcher.Launcher',
|
||||||
|
],
|
||||||
|
rules: '[id="com.mihoyo.hyperion:id/mSplashBtJump"]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.gitee.io/import/12482738',
|
||||||
|
'https://gkd-kit.gitee.io/import/12675530', // activityId: 'com.miui.home.launcher.Launcher'
|
||||||
],
|
],
|
||||||
rules: '[id=`com.mihoyo.hyperion:id/mSplashBtJump`]',
|
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12482738',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '青少年模式',
|
name: '青少年模式',
|
||||||
desc: '关闭青少年模式提醒弹窗',
|
desc: '关闭青少年模式提醒弹窗',
|
||||||
rules: 'TextView[id=`com.mihoyo.hyperion:id/tv_dialog_i_know`]',
|
activityIds: 'com.mihoyo.hyperion.main.HyperionMainActivity',
|
||||||
|
rules:
|
||||||
|
'TextView[id="com.mihoyo.hyperion:id/tv_dialog_go_to_teenage_mode"] + TextView[id="com.mihoyo.hyperion:id/tv_dialog_i_know"]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12675547',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
name: '版本更新提示',
|
||||||
|
desc: '关闭版本更新提示弹窗',
|
||||||
|
rules: 'TextView[id="com.mihoyo.hyperion:id/mUpgradeDialogCancel"]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12675513',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user