From 89d25875e2e95b57137cb1ba9b08d86eeff8dcb2 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Sat, 14 May 2016 22:44:12 -0500 Subject: [PATCH] fix(deprecations): Broken references to `app` --- src/browser/windows-updater-squirrel-adapter.coffee | 2 +- src/pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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