From aec43c73f252ffe8f63e4b7689e6655a4cf0806e Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sat, 14 Sep 2019 15:11:03 -0700 Subject: [PATCH] local -> roaming --- src/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 605f2645..83ba421d 100644 --- a/src/config.js +++ b/src/config.js @@ -1,9 +1,10 @@ const appConfig = require('application-config')('WebTorrent') +appConfig.filePath = appConfig.filePath.replace('\\Local\\', '\\Roaming\\') const path = require('path') const electron = require('electron') const arch = require('arch') -console.log('electron appData: ', (electron.remote ? electron.remote : electron).app.getPath('appData')) +// console.log('electron appData: ', (electron.remote ? electron.remote : electron).app.getPath('appData')) console.log('appConfig.filePath', appConfig.filePath) const APP_NAME = 'WebTorrent'