parent
852500e5fa
commit
f2439cefd0
3 changed files with 5 additions and 7 deletions
|
@ -1,7 +1,5 @@
|
|||
switch process.platform
|
||||
when 'win32'
|
||||
module.exports = require './auto-updater/auto-updater-win'
|
||||
when 'darwin'
|
||||
module.exports = require './auto-updater/auto-updater-mac'
|
||||
module.exports =
|
||||
if process.platform is 'win32'
|
||||
require './auto-updater/auto-updater-win'
|
||||
else
|
||||
throw new Error('auto-updater is not implemented on this platform')
|
||||
require './auto-updater/auto-updater-native'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue