From cec09f992651cbd8bc8a03c5aab1f445f306a4f6 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Fri, 2 Aug 2024 01:18:26 +0800 Subject: [PATCH] Upd: DICT_PACKAGE_TO_ACTIVITY --- module/config/server.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/module/config/server.py b/module/config/server.py index 899284329..32c9e0b53 100644 --- a/module/config/server.py +++ b/module/config/server.py @@ -20,6 +20,13 @@ VALID_CLOUD_SERVER = { } VALID_CLOUD_PACKAGE = set(list(VALID_CLOUD_SERVER.values())) +DICT_PACKAGE_TO_ACTIVITY = { + 'com.miHoYo.hkrpg': 'com.mihoyo.combosdk.ComboSDKActivity', + 'com.miHoYo.hkrpg.bilibili': 'com.mihoyo.combosdk.ComboSDKActivity', + 'com.HoYoverse.hkrpgoversea': 'com.mihoyo.combosdk.ComboSDKActivity', + 'com.miHoYo.cloudgames.hkrpg': 'com.mihoyo.cloudgame.ui.SplashActivity', +} + def set_lang(lang_: str): """