Hiding menu but not removing it anymore
This commit is contained in:
parent
8fb0fdbeed
commit
d42c39d117
@ -27,7 +27,7 @@ function createWin() {
|
|||||||
|
|
||||||
win.loadFile('pages/index.html');
|
win.loadFile('pages/index.html');
|
||||||
if(process.platform !== 'darwin') {
|
if(process.platform !== 'darwin') {
|
||||||
if(!process.env('DEV_ENV')) {
|
if(!process.env['DEV_ENV']) {
|
||||||
win.removeMenu()
|
win.removeMenu()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user