electron/atom/browser/api/lib/auto-updater.coffee
2016-01-12 16:22:34 -08:00

12 lines
291 B
CoffeeScript

{deprecate} = require 'electron'
autoUpdater =
if process.platform is 'win32'
require './auto-updater/auto-updater-win'
else
require './auto-updater/auto-updater-native'
### Deprecated. ###
deprecate.rename autoUpdater, 'setFeedUrl', 'setFeedURL'
module.exports = autoUpdater