From a7d57b1d0d350e0c314abc213f0b381eb2739da5 Mon Sep 17 00:00:00 2001 From: liuwf Date: Mon, 6 May 2024 17:29:34 +0800 Subject: [PATCH] . --- Aucma.Core.PrintTo/App.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aucma.Core.PrintTo/App.xaml.cs b/Aucma.Core.PrintTo/App.xaml.cs index 3b43ca0a..272ff14b 100644 --- a/Aucma.Core.PrintTo/App.xaml.cs +++ b/Aucma.Core.PrintTo/App.xaml.cs @@ -26,7 +26,7 @@ namespace Aucma.Core.PrintTo var host = CreateHostBuilder(e.Args).Build();//生成宿主。 ServiceProvider = host.Services; - s + host.Services.GetRequiredService()?.Show(); await host.StartAsync(); }