2015-10-23 07:13:24 +00:00
|
|
|
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')
|