fix: linting

This commit is contained in:
MasterAcnolo
2026-10-28 21:52:26 +01:00
parent fa5776b254
commit 8c3e1135e5

View File

@@ -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");
/**