We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70e8f85 + 8d4cddd commit c53a5a9Copy full SHA for c53a5a9
README.md
@@ -133,9 +133,10 @@ builder.UseElectron(args, async () =>
133
{
134
var options = new BrowserWindowOptions {
135
Show = false,
136
- AutoHideMenuBar = true,
137
IsRunningBlazor = true, // <-- crucial
138
};
+ if (OperatingSystem.IsWindows() || OperatingSystem.IsLinux())
139
+ options.AutoHideMenuBar = true;
140
var browserWindow = await Electron.WindowManager.CreateWindowAsync(options);
141
browserWindow.OnReadyToShow += () => browserWindow.Show();
142
});
0 commit comments