projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d627ead
)
:art:
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Thu, 28 Apr 2016 17:21:58 +0000
(10:21 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Fri, 6 May 2016 17:12:55 +0000
(10:12 -0700)
lib/browser/api/auto-updater.js
patch
|
blob
|
history
diff --git
a/lib/browser/api/auto-updater.js
b/lib/browser/api/auto-updater.js
index
f99d321
..
f838a26
100644
(file)
--- a/
lib/browser/api/auto-updater.js
+++ b/
lib/browser/api/auto-updater.js
@@
-1,2
+1,5
@@
-const autoUpdater = process.platform === 'win32' ? require('./auto-updater/auto-updater-win') : require('./auto-updater/auto-updater-native')
-module.exports = autoUpdater
+if (process.platform === 'win32') {
+ module.exports = require('./auto-updater/auto-updater-win')
+} else {
+ module.exports = require('./auto-updater/auto-updater-native')
+}