Tweak again
This commit is contained in:
parent
6cae898aa1
commit
7b6593db74
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user