mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
refactor(launcher): add DI, IUpdateEngine facade, and architecture tests
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Avalonia;
|
||||
using LanMountainDesktop.Launcher.Models;
|
||||
using LanMountainDesktop.Launcher.Shell;
|
||||
namespace LanMountainDesktop.Launcher;
|
||||
|
||||
public static class Program
|
||||
@@ -32,6 +33,7 @@ public static class Program
|
||||
}
|
||||
|
||||
LauncherRuntimeContext.Current = commandContext;
|
||||
LauncherServiceRegistration.Initialize(commandContext);
|
||||
|
||||
var appRoot = Commands.ResolveAppRoot(commandContext);
|
||||
var languageCode = LanguagePreferenceService.ResolveLanguageCode(appRoot);
|
||||
|
||||
Reference in New Issue
Block a user