Skip to content

Commit c3a9808

Browse files
author
Milo Todt
committed
change to isDev
1 parent 038154c commit c3a9808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const app = electron.app
33
const Menu = electron.Menu
44
const ipc = electron.ipcMain
55
const GhReleases = require('electron-gh-releases')
6-
const isDev = 'ELECTRON_IS_DEV' in process.env
6+
const isDev = 'ELECTRON_IS_DEV' in process.env && process.env.NODE_ENV !== 'production'
77
// electron.crashReporter.start()
88
var ipcServer = null
99

0 commit comments

Comments
 (0)