13 lines
321 B
JavaScript
13 lines
321 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;
|