Fix: Wrong files Path

This commit is contained in:
MasterAcnolo
2026-03-18 09:20:25 +01:00
parent 0be1ef1710
commit dcfea2073c

View File

@@ -31,7 +31,7 @@ const gotLock = app.requestSingleInstanceLock();
// Native dependencies check (yt-dlp.exe, ffmpeg.exe, ffprobe.exe, Deno) // Native dependencies check (yt-dlp.exe, ffmpeg.exe, ffprobe.exe, Deno)
function checkNativeDependencies() { function checkNativeDependencies() {
// Import centralized paths after app initialization // Import centralized paths after app initialization
const { binaryPaths } = require("./server/helpers/path"); const { binaryPaths } = require("./server/helpers/path.helpers.js");
const deps = [ const deps = [
{ name: "yt-dlp.exe", path: binaryPaths.ytDlp }, { name: "yt-dlp.exe", path: binaryPaths.ytDlp },
@@ -118,7 +118,7 @@ function validateDownloadPath(userPath) {
// Lazy load default path // Lazy load default path
if (!defaultDownloadPath) { if (!defaultDownloadPath) {
const { defaultDownloadFolder } = require("./server/helpers/path"); const { defaultDownloadFolder } = require("./server/helpers/path.helpers.js");
defaultDownloadPath = defaultDownloadFolder; defaultDownloadPath = defaultDownloadFolder;
} }