基于WebView2实现的Win11桌面框架,利用插件自定义
Moli
2026-08-12 e2d07826ede5c1df0f884ef8a59e0a89c95b7d08
src/Moli.Desktop/Host/DesktopHostBuilder.cs
@@ -54,6 +54,7 @@
                services.AddSingleton<ILayoutManager, LayoutManager>();
                services.AddSingleton<IDesktopLayerStrategy, WorkerWDesktopLayerStrategy>();
                services.AddSingleton<IDesktopLayerStrategy, BottomDesktopLayerStrategy>();
                services.AddSingleton<DisplayChangeMonitor>();
                services.AddSingleton<IWin32InteropService, Win32InteropService>();
                services.AddSingleton<PluginBridgeDispatcher>();
                services.AddSingleton<IWebViewHostFactory, WebViewHostFactory>();