aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.js')
-rw-r--r--src/config.js1
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 = [
171export const LOCAL_SERVER = 'You are using Ferdi without a server'; 171export const LOCAL_SERVER = 'You are using Ferdi without a server';
172export const SERVER_NOT_LOADED = 'Ferdi::SERVER_NOT_LOADED'; 172export 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
175if (process.env.FERDI_APPDATA_DIR != null) { 176if (process.env.FERDI_APPDATA_DIR != null) {
176 app.setPath('appData', process.env.FERDI_APPDATA_DIR); 177 app.setPath('appData', process.env.FERDI_APPDATA_DIR);