diff --git a/src/lib/helpers.ts b/src/lib/helpers.ts index c3b6389..21a5f8a 100644 --- a/src/lib/helpers.ts +++ b/src/lib/helpers.ts @@ -62,7 +62,7 @@ if (args.headless === true) { export const fetchFFMPEG = (): Promise => new Promise((resolve, reject) => { const platform = detectPlatform(); - const path = args.headless === true ? "./" : "./db/"; + const path = "./db/"; if (fs.existsSync(`${path}${getBinaryFilename("ffmpeg", platform)}`) === false) { process.stdout.write("> Ffmpeg binary missing! Downloading... "); downloadBinaries(