mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
fix: 在更新时报错无法显示本地化语言
This commit is contained in:
@@ -375,6 +375,7 @@ public class Bootstrapper : Bootstrapper<RootViewModel>
|
||||
_logger.Information("===================================");
|
||||
|
||||
ConfigurationHelper.Load();
|
||||
LocalizationHelper.Load();
|
||||
if (VersionUpdateDialogViewModel.HasPendingUpdatePackage())
|
||||
{
|
||||
_logger.Information("Pending update package detected, applying before full startup");
|
||||
@@ -388,7 +389,6 @@ public class Bootstrapper : Bootstrapper<RootViewModel>
|
||||
}
|
||||
|
||||
ConfigConverter.ConvertConfig();
|
||||
LocalizationHelper.Load();
|
||||
ETagCache.Load();
|
||||
|
||||
if (ConfigFactory.Root.GUI.IgnoreBadModulesAndUseSoftwareRendering)
|
||||
|
||||
Reference in New Issue
Block a user