From 814ae7b4a4ddca8d7257326f40ebe3421549300a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 28 Apr 2016 10:21:58 -0700 Subject: [PATCH] :art: --- lib/browser/api/auto-updater.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/browser/api/auto-updater.js b/lib/browser/api/auto-updater.js index f99d3218e430..f838a26f2cea 100644 --- a/lib/browser/api/auto-updater.js +++ b/lib/browser/api/auto-updater.js @@ -1,2 +1,5 @@ -const autoUpdater = process.platform === 'win32' ? require('./auto-updater/auto-updater-win') : require('./auto-updater/auto-updater-native') -module.exports = autoUpdater +if (process.platform === 'win32') { + module.exports = require('./auto-updater/auto-updater-win') +} else { + module.exports = require('./auto-updater/auto-updater-native') +}