diff --git a/Aucma.Core.PrintTo/App.xaml.cs b/Aucma.Core.PrintTo/App.xaml.cs index 272ff14b..3b43ca0a 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(); }