Fix incorrect windows ffmpeg path (#41)

This commit is contained in:
Nyanmisaka
2024-09-19 08:18:25 -06:00
committed by GitHub
parent c14ac40bf0
commit 29854741c8
+1 -1
View File
@@ -77,7 +77,7 @@ case ${BUILD_TYPE}-${PACKAGE_ARCH} in
# rm ffmpeg.tar.xz
# ;;
windows-amd64)
FFMPEG_PATH=$( curl ${REPOSITORY_URI}/?path=/ffmpeg/windows/latest-${FFMPEG_VERSION}/win64 | grep -o "/files/.*-portable_win64-clang-gpl.zip'" | sed "s/'$//" )
FFMPEG_PATH=$( curl ${REPOSITORY_URI}/?path=/ffmpeg/windows/latest-${FFMPEG_VERSION}/win64 | grep -o "/files/.*_portable_win64-clang-gpl.zip'" | sed "s/'$//" )
curl --location --output ffmpeg.zip ${REPOSITORY_URI}${FFMPEG_PATH}
unzip ffmpeg.zip
rm ffmpeg.zip