2015-11-13 08:03:40 +00:00
|
|
|
{deprecate} = require 'electron'
|
|
|
|
|
|
|
|
autoUpdater =
|
2015-11-13 02:58:10 +00:00
|
|
|
if process.platform is 'win32'
|
|
|
|
require './auto-updater/auto-updater-win'
|
2015-10-23 07:13:24 +00:00
|
|
|
else
|
2015-11-13 02:58:10 +00:00
|
|
|
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
|