removing menu bar cuz its ugly

This commit is contained in:
shockrahwow 2019-11-27 00:46:43 -08:00
parent 7711ddf786
commit 0529a0342e

View File

@ -11,12 +11,12 @@ function createWin() {
} }
}) })
win.loadFile('index.html'); win.loadFile('index.html');
//win.webContents.openDevTools() if(process.platform !== 'darwin') {
win.removeMenu();
}
win.on('closed', () => { win.on('closed', () => {
win = null win = null
}); });
} }
app.on('ready', createWin); app.on('ready', createWin);
// on mac just because the windows are closed doesn't mean the application is too // on mac just because the windows are closed doesn't mean the application is too