diff options
author | 2019-10-04 11:36:18 +0200 | |
---|---|---|
committer | 2019-10-04 11:36:18 +0200 | |
commit | ddb890db3b76991bc2a094c39e66e824fa51055e (patch) | |
tree | 07faef3903dac71f32baadd582f300156b179aec /src/index.js | |
parent | Add social preview psd file (diff) | |
download | ferdium-app-ddb890db3b76991bc2a094c39e66e824fa51055e.tar.gz ferdium-app-ddb890db3b76991bc2a094c39e66e824fa51055e.tar.zst ferdium-app-ddb890db3b76991bc2a094c39e66e824fa51055e.zip |
Fix lint
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js index 1b982c77e..96f840533 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -11,9 +11,9 @@ import windowStateKeeper from 'electron-window-state'; | |||
11 | 11 | ||
12 | // Set app directory before loading user modules | 12 | // Set app directory before loading user modules |
13 | if (isDevMode) { | 13 | if (isDevMode) { |
14 | app.setPath('userData', path.join(app.getPath('appData'), app.getName() + 'Dev')); | 14 | app.setPath('userData', path.join(app.getPath('appData'), `${app.getName()}Dev`)); |
15 | } else if (process.env.FERDI_USERDATA_DIR != null) { | 15 | } else if (process.env.FERDI_USERDATA_DIR != null) { |
16 | app.setPath('userData', process.env.FERDI_USERDATA_DIR) | 16 | app.setPath('userData', process.env.FERDI_USERDATA_DIR); |
17 | } else if (process.env.PORTABLE_EXECUTABLE_DIR != null) { | 17 | } else if (process.env.PORTABLE_EXECUTABLE_DIR != null) { |
18 | app.setPath('userData', path.join(process.env.PORTABLE_EXECUTABLE_DIR, app.getName())); | 18 | app.setPath('userData', path.join(process.env.PORTABLE_EXECUTABLE_DIR, app.getName())); |
19 | } | 19 | } |