diff options
Diffstat (limited to 'src/config.js')
-rw-r--r-- | src/config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.js b/src/config.js index 62bbaac12..e6bd83e06 100644 --- a/src/config.js +++ b/src/config.js | |||
@@ -171,6 +171,7 @@ export const FILE_SYSTEM_SETTINGS_TYPES = [ | |||
171 | export const LOCAL_SERVER = 'You are using Ferdi without a server'; | 171 | export const LOCAL_SERVER = 'You are using Ferdi without a server'; |
172 | export const SERVER_NOT_LOADED = 'Ferdi::SERVER_NOT_LOADED'; | 172 | export const SERVER_NOT_LOADED = 'Ferdi::SERVER_NOT_LOADED'; |
173 | 173 | ||
174 | // TODO: This seems to be duplicated between here and 'index.js' | ||
174 | // Set app directory before loading user modules | 175 | // Set app directory before loading user modules |
175 | if (process.env.FERDI_APPDATA_DIR != null) { | 176 | if (process.env.FERDI_APPDATA_DIR != null) { |
176 | app.setPath('appData', process.env.FERDI_APPDATA_DIR); | 177 | app.setPath('appData', process.env.FERDI_APPDATA_DIR); |