From 1f7967d17f629a6cc505a23fde3842dd21e216f6 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 13 Nov 2014 10:12:07 -0800 Subject: [PATCH] Export instance of AutoUpdater --- src/browser/auto-updater-win32.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/browser/auto-updater-win32.coffee b/src/browser/auto-updater-win32.coffee index 0b1fdf16c..459b5f448 100644 --- a/src/browser/auto-updater-win32.coffee +++ b/src/browser/auto-updater-win32.coffee @@ -6,7 +6,6 @@ path = require 'path' _ = require 'underscore-plus' shellAutoUpdater = require 'auto-updater' -module.exports = class AutoUpdater _.extend @prototype, EventEmitter.prototype @@ -64,3 +63,5 @@ class AutoUpdater else console.log "You're on the latest version!" emit 'update-not-available' + +module.exports = new AutoUpdater()