use path.join
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user