基于WebView2实现的Win11桌面框架,利用插件自定义
Moli
2026-08-12 df6a437518d89eebfa1a583e09ec99c462e64e47
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>();