diff --git a/src/browser/windows-updater-squirrel-adapter.coffee b/src/browser/windows-updater-squirrel-adapter.coffee index f0dd4f87e..b35022001 100644 --- a/src/browser/windows-updater-squirrel-adapter.coffee +++ b/src/browser/windows-updater-squirrel-adapter.coffee @@ -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")) diff --git a/src/pro b/src/pro index 06168f188..9509aa5ed 160000 --- a/src/pro +++ b/src/pro @@ -1 +1 @@ -Subproject commit 06168f1880d0c7b3d974fbb40963a1a9beba2f9a +Subproject commit 9509aa5ede48cac411f6bc9631f46616f54e9756