Fix: Put config.json file into config folder for better readability + Fix Yt-DLP Path

This commit is contained in:
MasterAcnolo
2026-01-15 22:01:26 +01:00
parent b7a193b062
commit 2f105f5145
4 changed files with 6 additions and 6 deletions

View File

@@ -13,10 +13,10 @@ let mainWindow;
const logsFolderPath = logDir;
const basePath = config.localMode
? path.join(__dirname, "config")
? path.join(__dirname )
: path.join(path.dirname(process.execPath), "resources");
const configFolderPath = path.join(basePath, "config.json");
const configFolderPath = path.join(basePath, "config" ,"config.json");
const defaultDownloadPath = path.join(os.homedir(), "Downloads", "Freedom Loader");