fix(deprecations): Broken references to app

This commit is contained in:
Ben Gotow 2016-05-14 22:44:12 -05:00
parent 45473e759a
commit 89d25875e2
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ class WindowsUpdaterSquirrelAdapter
restartN1: ->
if WindowsUpdater.existsSync()
WindowsUpdater.restartN1(require('app'))
WindowsUpdater.restartN1(require('electron').app)
else
NylasEnv.reportError(new Error("SquirrellUpdate does not exist"))

@ -1 +1 @@
Subproject commit 06168f1880d0c7b3d974fbb40963a1a9beba2f9a
Subproject commit 9509aa5ede48cac411f6bc9631f46616f54e9756