Added avalonia integration and remote proof of concept

This commit is contained in:
MaddoScientisto 2026-02-28 15:30:57 +01:00
commit 4a0973b681
23 changed files with 2043 additions and 6 deletions

View file

@ -12,8 +12,7 @@ public partial class AvaloniaApp : Avalonia.Application
{
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
{
var model = Program.ServiceProvider.GetRequiredService<DataModel>();
desktop.MainWindow = new AvaloniaMainWindow(model);
desktop.MainWindow = Program.ServiceProvider.GetRequiredService<AvaloniaMainWindow>();
}
base.OnFrameworkInitializationCompleted();
}