17 lines
470 B
Bash
Raw Permalink Normal View History

2022-09-12 10:41:08 +06:00
#!/bin/bash
# Script to download the latest x64 mac version of ffmpeg
# The binary will be placed in the root dir of the app
2024-02-23 11:43:37 +03:00
if ls ffmpeg* 1> /dev/null 2>&1; then
rm ffmpeg*
fi
# >> Check if curl is installed or nor
if ! command -V curl > /dev/null 2>&1; then
echo "curl not installed, please install it and try again"
exit
fi
curl -SL --progress-bar "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v6/ffmpeg_mac" -o ffmpeg
2022-10-14 23:17:43 +06:00
chmod +x ffmpeg
2022-09-12 10:41:08 +06:00