Add NotificationsComponent
All checks were successful
Build / Compute Version (push) Successful in 6s
Build / Build Nuget package (CringeBootstrap.Abstractions) (push) Successful in 1m36s
Build / Build Nuget package (NuGet) (push) Successful in 1m49s
Build / Build Nuget package (CringePlugins) (push) Successful in 3m10s
Build / Build Nuget package (SharedCringe) (push) Successful in 2m40s
Build / Build Launcher (push) Successful in 3m26s

This commit is contained in:
2024-11-11 14:51:09 -05:00
parent c25bf3bb3d
commit 4285dafeb6
4 changed files with 122 additions and 1 deletions

View File

@@ -63,6 +63,9 @@ public class PluginsLifetime(string gameFolder) : ILoadingStage
progress.Report("Loading plugins");
//we can move this, but it should be before plugin init
RenderHandler.Current.RegisterComponent(new NotificationsComponent());
await LoadPlugins(cachedPackages, sourceMapping, packagesConfig);
RenderHandler.Current.RegisterComponent(new PluginListComponent(packagesConfig, sourceMapping, configPath, gameFolder, _plugins));