File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -502,8 +502,7 @@ export function main(init: Init): void {
502502 height : height ,
503503 minWidth : 200 ,
504504 minHeight : 200 ,
505- frame : true ,
506- // frame: !state.preferences.useCustomTitlebar,
505+ frame : ! state . preferences . useCustomTitlebar ,
507506 icon : path . join ( __dirname , '../window/images/icon.png' ) ,
508507 webPreferences : {
509508 preload : path . resolve ( __dirname , 'preload.js' ) ,
@@ -519,7 +518,7 @@ export function main(init: Init): void {
519518 }
520519 } ) ;
521520 // Remove the menu bar
522- // window.setMenu(null);
521+ window . setMenu ( null ) ;
523522 // and load the index.html of the app.
524523 window . loadFile ( path . join ( __dirname , '../window/renderer.html' ) ) ;
525524 // Open the DevTools. Don't open if using a remote debugger (like vscode)
You can’t perform that action at this time.
0 commit comments