use path.join

This commit is contained in:
Feross Aboukhadijeh
2016-05-09 17:12:17 +02:00
parent 9d4aeaedd3
commit 452bbb60c4

View File

@@ -26,7 +26,7 @@ var TorrentSummary = require('./lib/torrent-summary')
var {setDispatch} = require('./lib/dispatcher')
setDispatch(dispatch)
appConfig.filePath = config.CONFIG_PATH + path.sep + 'config.json'
appConfig.filePath = path.join(config.CONFIG_PATH, 'config.json')
// Electron apps have two processes: a main process (node) runs first and starts
// a renderer process (essentially a Chrome window). We're in the renderer process,