electron/atom/browser/api/lib/auto-updater.js

13 lines
321 B
JavaScript
Raw Normal View History

2016-01-12 02:40:23 +00:00
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;