mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-11-13 15:09:20 +01:00
fix: linting
This commit is contained in:
@@ -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");
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user