removing menu bar cuz its ugly
This commit is contained in:
parent
7711ddf786
commit
0529a0342e
@ -11,12 +11,12 @@ function createWin() {
|
||||
}
|
||||
})
|
||||
win.loadFile('index.html');
|
||||
//win.webContents.openDevTools()
|
||||
if(process.platform !== 'darwin') {
|
||||
win.removeMenu();
|
||||
}
|
||||
win.on('closed', () => {
|
||||
win = null
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
app.on('ready', createWin);
|
||||
// on mac just because the windows are closed doesn't mean the application is too
|
||||
|
Loading…
Reference in New Issue
Block a user