diff --git a/renderer/index.js b/renderer/index.js index c0cbc2ee..2779780c 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -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,