mirror of
https://github.com/electron/electron.git
synced 2026-02-13 16:45:14 -05:00
13 lines
285 B
CoffeeScript
13 lines
285 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
|