From ddd6889459bccf5015cd0c9629cdf4f4ce8fb8e1 Mon Sep 17 00:00:00 2001
From: Moli <13026959681@163.com>
Date: 星期一, 04 五月 2026 11:26:25 +0800
Subject: [PATCH] 优化Win+D隐藏的问题

---
 src/Moli.Desktop/App.xaml.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Moli.Desktop/App.xaml.cs b/src/Moli.Desktop/App.xaml.cs
index f2c1ef5..37f816d 100644
--- a/src/Moli.Desktop/App.xaml.cs
+++ b/src/Moli.Desktop/App.xaml.cs
@@ -20,6 +20,7 @@
 
         _host = DesktopHostBuilder.Create(e.Args).Build();
         await _host.StartAsync();
+        await _host.Services.GetRequiredService<IDefaultContentInstaller>().InstallAsync();
         await _host.Services.GetRequiredService<IDesktopRuntime>().StartAsync();
         await _host.Services.GetRequiredService<ITrayShell>().StartAsync();
 

--
Gitblit v1.9.1