enables native linux chrome

This commit is contained in:
booploops 2022-02-17 00:43:19 -08:00
parent e091287bd6
commit 90ad36d256
3 changed files with 17 additions and 0 deletions

View file

@ -125,6 +125,16 @@ export class BrowserWindow {
this.options.width = windowState.width;
this.options.height = windowState.height;
switch(process.platform) {
default:
break;
case "linux":
this.options.autoHideMenuBar = true
this.options.frame = true
break;
}
// Start the webserver for the browser window to load
this.startWebServer();