aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2019-10-18 11:00:51 +0200
committerLibravatar vantezzen <hello@vantezzen.io>2019-10-18 11:00:51 +0200
commitddd08c2ed24df403136a3051373ac89cff655598 (patch)
tree1b3bc962e0c8698df984e80116c5144a7082805a /src/index.js
parentMerge branch 'develop' of https://github.com/getferdi/ferdi into develop (diff)
downloadferdium-app-ddd08c2ed24df403136a3051373ac89cff655598.tar.gz
ferdium-app-ddd08c2ed24df403136a3051373ac89cff655598.tar.zst
ferdium-app-ddd08c2ed24df403136a3051373ac89cff655598.zip
Fix lint
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index 799e762f5..4d7215d5e 100644
--- a/src/index.js
+++ b/src/index.js
@@ -11,7 +11,7 @@ import windowStateKeeper from 'electron-window-state';
11 11
12// Set app directory before loading user modules 12// Set app directory before loading user modules
13if (process.env.FERDI_APPDATA_DIR || process.env.PORTABLE_EXECUTABLE_DIR) { 13if (process.env.FERDI_APPDATA_DIR || process.env.PORTABLE_EXECUTABLE_DIR) {
14 const appDataPath = process.env.FERDI_APPDATA_DIR || process.env.PORTABLE_EXECUTABLE_DIR 14 const appDataPath = process.env.FERDI_APPDATA_DIR || process.env.PORTABLE_EXECUTABLE_DIR;
15 app.setPath('appData', appDataPath); 15 app.setPath('appData', appDataPath);
16 app.setPath('userData', path.join(app.getPath('appData'), app.getName())); 16 app.setPath('userData', path.join(app.getPath('appData'), app.getName()));
17} 17}