mirror of
https://github.com/desktop/desktop
synced 2024-10-31 11:07:25 +00:00
Revert "Use __DEV__ instead of checking for the environment."
This reverts commit 199b07cf42
.
This commit is contained in:
parent
732eab122b
commit
0207929993
2 changed files with 1 additions and 2 deletions
|
@ -1 +0,0 @@
|
|||
declare var __DEV__: boolean
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue