Tweak again
Some checks failed
Publish Docker image / Push docker image to registry (push) Failing after 1m18s
Publish release zip / build (push) Failing after 51s

This commit is contained in:
sim0n00ps 2025-05-04 18:59:19 +01:00
parent 6cae898aa1
commit 7b6593db74

View File

@ -46,17 +46,12 @@ jobs:
timeout --preserve-status --kill-after=5s 30s ../outlin/OF\ DL --non-interactive || true
echo "➤ Binary finished"
echo "➤ Preparing ffmpeg"
echo "➤ Creating folder for CDM"
mkdir -p cdm/devices/chrome_1610
wget https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip -O ffmpeg.zip
sudo apt update && sudo apt install -y p7zip-full
echo "➤ Extracting with 7z"
7z x ffmpeg.zip -obin -y > /dev/null
echo "➤ Moving files"
find bin -iname ffmpeg.exe -exec mv {} . \;
find bin -iname LICENSE -exec mv {} LICENSE.ffmpeg
echo "➤ Copying ffmpeg from system folder"
cp /opt/ffmpeg/ffmpeg-*/bin/ffmpeg.exe .
cp /opt/ffmpeg/ffmpeg-*/LICENSE LICENSE.ffmpeg
echo "➤ Creating release zip"
zip ../OFDLV${{ steps.version.outputs.version }}.zip OF\ DL.exe e_sqlite3.dll rules.json config.conf cdm ffmpeg.exe LICENSE.ffmpeg