fix: 在更新时报错无法显示本地化语言

This commit is contained in:
uye
2026-03-29 21:26:31 +08:00
parent 35133131a6
commit 4ab5669c0b

View File

@@ -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)