mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
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:
parent
59f6052a2f
commit
d8e80bece0
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
@ -22,6 +22,7 @@ public partial class App
|
|||||||
.ConfigureServices(services => ConfigureServices(services))
|
.ConfigureServices(services => ConfigureServices(services))
|
||||||
.Build()
|
.Build()
|
||||||
.Services;
|
.Services;
|
||||||
|
_serviceProvider.GetRequiredService<SystemParametersConstructor>();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void SetupLogging(ILoggingBuilder loggingBuilder)
|
private static void SetupLogging(ILoggingBuilder loggingBuilder)
|
||||||
|
Loading…
Reference in New Issue
Block a user