Skip to content

Commit

Permalink
smh
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Feb 19, 2025
1 parent be57d52 commit 92aefd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ async function main() {
const ffmpegDir = path.join(targetDir, "ffmpeg");
if (!(await fileExists(ffmpegDir)) || downloadedFfmpeg) {
await exec(`tar xf ${ffmpegZipPath} -C ${targetDir}`);
await fs.rmdir(ffmpegDir, { recursive: true }).catch(() => {});
await fs.rename(path.join(targetDir, FFMPEG_ZIP_NAME), ffmpegDir);
console.log("Extracted ffmpeg");
} else console.log("Using cached ffmpeg");
Expand Down

0 comments on commit 92aefd3

Please sign in to comment.