diff --git a/app/index.js b/app/index.js index 4ffbc18..4f6e627 100644 --- a/app/index.js +++ b/app/index.js @@ -61,6 +61,13 @@ function createMainWindow() { const url = `file://${path.join(__dirname, 'renderer', 'index.html')}` + /*/ + / /Hide menu bar: default + / /Show menu bar: press 'alt' + /*/ + win.setAutoHideMenuBar(true) + win.setMenuBarVisibility(false) + win.loadURL(url) win.on('close', e => {