feat(米游社): 开屏广告, 青少年模式, 版本更新提示 (#225)

* 米游社 版本更新提示

* feat(米游社)

* 完善青少年模式弹窗规则

---------

Co-authored-by: Cheng <184034037@qq.com>
This commit is contained in:
Kun Jinkao 2023-09-21 21:26:18 +08:00 committed by GitHub
parent 989fa2cb24
commit 080067df4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,15 +10,29 @@ export default defineAppConfig({
activityIds: [
'com.mihoyo.hyperion.ui.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,
name: '青少年模式',
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',
},
],
});