From 285c1ca7b611c2be2f7f2f5d96278dfdcf81d543 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Sat, 18 Nov 2017 00:08:44 -0500 Subject: [PATCH] Add electron-updater requirement and import --- package.json | 1 + src/main/index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index d0dc3f9c7..f96b5740a 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "bluebird": "^3.5.1", "classnames": "^2.2.5", "electron-dl": "^1.6.0", + "electron-updater": "^2.16.1", "formik": "^0.10.4", "from2": "^2.3.0", "install": "^0.10.2", diff --git a/src/main/index.js b/src/main/index.js index 30a78c3e6..5f85e58ec 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -9,6 +9,7 @@ import Keytar from 'keytar'; import ChildProcess from 'child_process'; import Assert from 'assert'; import { app, BrowserWindow, globalShortcut, ipcMain, Menu, Tray } from 'electron'; +import { autoUpdater } from 'electron-updater'; import mainMenu from './menu/mainMenu'; import contextMenu from './menu/contextMenu';