dev_env environment var check

This commit is contained in:
shockrah 2021-02-12 18:13:24 -08:00
parent d42c39d117
commit 24a49663d2

View File

@ -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
});