2016-03-24 20:15:04 +00:00
|
|
|
const deprecate = require('electron').deprecate
|
|
|
|
const autoUpdater = process.platform === 'win32' ? require('./auto-updater/auto-updater-win') : require('./auto-updater/auto-updater-native')
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2016-01-14 18:35:29 +00:00
|
|
|
// Deprecated.
|
2016-03-24 20:15:04 +00:00
|
|
|
deprecate.rename(autoUpdater, 'setFeedUrl', 'setFeedURL')
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2016-03-24 20:15:04 +00:00
|
|
|
module.exports = autoUpdater
|