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

13 lines
291 B
CoffeeScript
Raw Normal View History

2015-11-13 08:03:40 +00:00
{deprecate} = require 'electron'
autoUpdater =
if process.platform is 'win32'
require './auto-updater/auto-updater-win'
else
require './auto-updater/auto-updater-native'
2015-11-13 08:03:40 +00:00
2016-01-12 02:03:02 +00:00
### Deprecated. ###
2015-11-13 08:03:40 +00:00
deprecate.rename autoUpdater, 'setFeedUrl', 'setFeedURL'
module.exports = autoUpdater