GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(boot): register services from Bar project on startup
Larsb9e6c5bac351
diff --git a/LarsWM.Bootstrapper/Program.cs b/LarsWM.Bootstrapper/Program.csindex ba6a5117..efb3546d 100644--- a/LarsWM.Bootstrapper/Program.cs+++ b/LarsWM.Bootstrapper/Program.cs@@ -1,3 +1,4 @@+using LarsWM.Bar;using LarsWM.Domain;using LarsWM.Infrastructure;using Microsoft.Extensions.DependencyInjection;@@ -19,11 +20,13 @@ namespace LarsWM.Bootstrappervar serviceCollection = new ServiceCollection();serviceCollection.AddInfrastructureServices();serviceCollection.AddDomainServices();+ serviceCollection.AddBarServices();serviceCollection.AddSingleton<Startup>();ServiceLocator.Provider = serviceCollection.BuildServiceProvider();ServiceLocator.Provider.RegisterDomainHandlers();+ ServiceLocator.Provider.RegisterBarHandlers();var startup = ServiceLocator.Provider.GetRequiredService<Startup>();startup.Init();