Skip to content

Commit

Permalink
patch to always put ffmpeh binary in ./db/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
orthanc42 committed Apr 4, 2023
1 parent 077a755 commit 3d1c9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/helpers.ts
Expand Up @@ -62,7 +62,7 @@ if (args.headless === true) {
export const fetchFFMPEG = (): Promise<void> =>
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(
Expand Down

0 comments on commit 3d1c9d6

Please sign in to comment.