This commit is contained in:
AlexPresso
2022-05-11 11:21:35 +02:00
committed by GitHub
parent c16d8f930c
commit 4a670c0102

View File

@@ -73,10 +73,12 @@ function patch() {
if [[ -d $cp_bin_path ]]; then
for filename in "${cp_to_patch[@]}"; do
info "Patching CodecPack's $filename"
if [[ -f "$cp_bin_path/$filename" ]]; then
info "Patching CodecPack's $filename"
mv -n "$cp_bin_path/$filename" "$cp_bin_path/$filename.orig"
ln -s -f "$vs_bin_path/ffmpeg" "$cp_bin_path/$filename"
mv -n "$cp_bin_path/$filename" "$cp_bin_path/$filename.orig"
ln -s -f "$vs_bin_path/ffmpeg" "$cp_bin_path/$filename"
fi
done
fi