dev_env environment var check
This commit is contained in:
@@ -26,11 +26,7 @@ function createWin() {
|
||||
})
|
||||
|
||||
win.loadFile('pages/index.html');
|
||||
if(process.platform !== 'darwin') {
|
||||
if(!process.env['DEV_ENV']) {
|
||||
win.removeMenu()
|
||||
}
|
||||
}
|
||||
|
||||
win.on('closed', () => {
|
||||
win = null
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user