This commit is contained in:
Kevin Sawicki 2016-04-28 10:21:58 -07:00
parent d627ead273
commit 814ae7b4a4

View file

@ -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')
}