Fix config file not being used

pull/370/head
aandrew-me 8 months ago
parent 2770b6c230
commit f999fe9053

@ -579,6 +579,7 @@ class YtDownloaderApp {
localStorage.getItem(
CONSTANTS.LOCAL_STORAGE_KEYS.YT_DLP_CUSTOM_ARGS
) || "";
prefs.configPath = localStorage.getItem(CONSTANTS.LOCAL_STORAGE_KEYS.CONFIG_PATH) || "";
const maxDownloads = Number(
localStorage.getItem(CONSTANTS.LOCAL_STORAGE_KEYS.MAX_DOWNLOADS)
@ -849,6 +850,11 @@ class YtDownloaderApp {
const process = this.state.ytDlp.exec(args, {shell: true});
console.log(
"Spawned yt-dlp with args:",
process.ytDlpProcess.spawnargs.join(" ")
);
let stdout = "";
let stderr = "";

Loading…
Cancel
Save