基于WebView2实现的Win11桌面框架,利用插件自定义
chunhualin1
2026-08-12 97df0fb5ed49e37d1c8e0e62057bb72ba5c9eb6a
1
2
3
4
5
6
7
8
9
10
namespace Moli.Desktop.WebView;
 
public sealed record WebViewHostOptions
{
    public required string UserDataFolder { get; init; }
    public bool IsTransparent { get; init; }
    public bool AreDevToolsEnabled { get; init; }
    public bool IsMuted { get; init; }
    public string? InitialScript { get; init; }
}