Revert "Use __DEV__ instead of checking for the environment."

This reverts commit 199b07cf42.
This commit is contained in:
joshaber 2016-06-23 11:11:03 -04:00
parent 732eab122b
commit 0207929993
2 changed files with 1 additions and 2 deletions

View file

@ -1 +0,0 @@
declare var __DEV__: boolean

View file

@ -75,7 +75,7 @@ app.on('ready', () => {
// TODO: Plumb the logged in .com user through here.
// Truly we have been haacked.
autoUpdater.setFeedURL(getFeedURL('haacked'))
if (__DEV__) {
if (process.env.NODE_ENV !== 'development') {
try {
autoUpdater.checkForUpdates()
} catch (e) {