diff options
author | Rafael Marçalo <raroma09@gmail.com> | 2022-10-29 14:51:03 +0100 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2022-10-29 14:51:03 +0100 |
commit | 5d6081e34777c8b99a3e9f2ed42a6de0732a4ff3 (patch) | |
tree | 2c64156dff1a1c3f2062d0a0ef156190b831a5fd /server/js/paths.js | |
parent | 48591e37a58d5349214e0bfee9f76e201d45e7bf (diff) |
Added config file handling functionality
Diffstat (limited to 'server/js/paths.js')
-rw-r--r-- | server/js/paths.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/js/paths.js b/server/js/paths.js index ee10807..3bf6824 100644 --- a/server/js/paths.js +++ b/server/js/paths.js @@ -28,7 +28,7 @@ const envPaths = { HOME: os.homedir(), DATA: process.env.APPDATA || ensureFolder(path.join(os.homedir(), 'AppData', 'Roaming')), CONFIG: process.env.APPDATA || ensureFolder(path.join(os.homedir(), 'AppData', 'Roaming')), - CACHE: process.env.TEMP || process.env.TMP || ensureFolder(path.join(process.env.LOCALAPPDATA, 'Temp')) + CACHE: process.env.TEMP || process.env.TMP || path.join(process.env.LOCALAPPDATA, 'Temp') || ensureFolder(path.join(os.homedir(), 'AppData', 'Local', 'Temp')) } } |