-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrew
committed
Feb 23, 2024
1 parent
5e58ca7
commit 49d756a
Showing
5 changed files
with
46 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
#!/bin/bash | ||
# Script to download the latest x64 mac version of ffmpeg | ||
# The binary will be placed in the root dir of the app | ||
rm ffmpeg* | ||
curl https://evermeet.cx/ffmpeg/ffmpeg-6.0.zip -o ffmpeg.zip | ||
unzip ffmpeg.zip | ||
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 | ||
|
||
chmod +x ffmpeg | ||
rm ffmpeg.zip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters