mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Fix: Save Themes inside "AppData"
This commit is contained in:
@@ -6,6 +6,7 @@ const { configFeatures, featuresPath } = require("../config");
|
||||
const { getThemes, reloadThemes } = require("./themeManager");
|
||||
const config = require("../config");
|
||||
const { validateDownloadPath, getDefaultDownloadPath } = require("./pathValidator");
|
||||
const { userThemesPath } = require("../server/helpers/path.helpers");
|
||||
|
||||
const FEATURE_WHITELIST = new Set([
|
||||
"autoUpdate",
|
||||
@@ -24,9 +25,7 @@ const FEATURE_WHITELIST = new Set([
|
||||
|
||||
const configFolderPath = featuresPath;
|
||||
|
||||
const themeFolderPath = config.localMode
|
||||
? path.join(__dirname, "..", "theme")
|
||||
: path.join(process.resourcesPath, "theme");
|
||||
const themeFolderPath = userThemesPath;
|
||||
|
||||
function registerIpcHandlers(getMainWindow) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user