mirror of
https://github.com/electron/electron.git
synced 2026-02-10 23:25:30 -05:00
8 lines
260 B
CoffeeScript
8 lines
260 B
CoffeeScript
switch process.platform
|
|
when 'win32'
|
|
module.exports = require './auto-updater/auto-updater-win'
|
|
when 'darwin'
|
|
module.exports = require './auto-updater/auto-updater-mac'
|
|
else
|
|
throw new Error('auto-updater is not implemented on this platform')
|