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

13 lines
285 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
# Deprecated.
deprecate.rename autoUpdater, 'setFeedUrl', 'setFeedURL'
module.exports = autoUpdater