Run SystemParametersConstructor in App constructor to log assembly info.

Wabbajack wasn't logging the initial assembly information until it was injected elsewhere.
This commit is contained in:
Unnoen 2022-01-27 18:12:33 +11:00
parent 59f6052a2f
commit d8e80bece0
No known key found for this signature in database
GPG Key ID: 8F8E42252BA20553

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Windows;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
@ -22,6 +22,7 @@ public partial class App
.ConfigureServices(services => ConfigureServices(services))
.Build()
.Services;
_serviceProvider.GetRequiredService<SystemParametersConstructor>();
}
private static void SetupLogging(ILoggingBuilder loggingBuilder)