Tweak copying ffmpeg
Some checks failed
Publish Docker image / Push docker image to registry (push) Failing after 5s
Publish release zip / build (push) Has been cancelled

This commit is contained in:
sim0n00ps 2025-05-04 17:49:54 +01:00
parent 2af279b2a9
commit cf63494a5d

View File

@ -41,12 +41,16 @@ jobs:
cp ./OF\ DL/rules.json outwin/
chmod +x ./outlin/OF\ DL
cd outwin
../outlin/OF\ DL --non-interactive || true
# Run Linux version non-interactively, with timeout to prevent hanging
timeout 30s ../outlin/OF\ DL --non-interactive || true
mkdir -p cdm/devices/chrome_1610
wget https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip
unzip ffmpeg-release-essentials.zip ffmpeg\*/bin/ffmpeg.exe ffmpeg\*/LICENSE
unzip ffmpeg-release-essentials.zip
mv ffmpeg*/bin/ffmpeg.exe .
mv ffmpeg*/LICENSE LICENSE.ffmpeg
zip ../OFDLV${{ steps.version.outputs.version }}.zip OF\ DL.exe e_sqlite3.dll rules.json config.conf cdm ffmpeg.exe LICENSE.ffmpeg
cd ..