enables native linux chrome
This commit is contained in:
parent
e091287bd6
commit
90ad36d256
3 changed files with 17 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue