diff --git a/server/helpers/path.helpers.js b/server/helpers/path.helpers.js index ff0bdcb..5debaaf 100644 --- a/server/helpers/path.helpers.js +++ b/server/helpers/path.helpers.js @@ -21,12 +21,12 @@ const ext = isWindows ? '.exe' : '' /** Centralized resource paths */ const resourcesPath = config.devMode ? path.join(__dirname, "../../resources") - : (process.resourcesPath || path.join(__dirname, "../../resources")); + : (process.resourcesPath || path.join(__dirname, "../../resources")); /** Default download folder */ const defaultDownloadFolder = app && typeof app.getPath === "function" - ? path.join(app.getPath("downloads"), "Freedom Loader") - : path.join(process.env.HOME || process.cwd(), "Downloads", "Freedom Loader"); + ? path.join(app.getPath("downloads"), "Freedom Loader") + : path.join(process.env.HOME || process.cwd(), "Downloads", "Freedom Loader"); /** * Current platform: @@ -157,8 +157,8 @@ const binaryPaths = { * - user themes are persisted in userData to survive updates */ const userThemesPath = app && typeof app.getPath === "function" - ? path.join(app.getPath("userData"), "themes") - : path.join(process.env.HOME || process.cwd(), ".config", "Freedom Loader", "themes"); + ? path.join(app.getPath("userData"), "themes") + : path.join(process.env.HOME || process.cwd(), ".config", "Freedom Loader", "themes"); const defaultThemesSourcePath = path.join("theme"); /**