14 lines
323 B
JavaScript
14 lines
323 B
JavaScript
var autoUpdater, deprecate;
|
|
|
|
deprecate = require('electron').deprecate;
|
|
|
|
autoUpdater = process.platform === 'win32' ? require('./auto-updater/auto-updater-win') : require('./auto-updater/auto-updater-native');
|
|
|
|
|
|
/* Deprecated. */
|
|
|
|
deprecate.rename(autoUpdater, 'setFeedUrl', 'setFeedURL');
|
|
|
|
|
|
|
|
module.exports = autoUpdater;
|