Skip to content

Commit

Permalink
#3488 Composer: ffmpeg custom command
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Trofimov committed Sep 6, 2021
1 parent 53fd11b commit 7b6726e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@
},
"scripts": {
"post-update-cmd": [
"@relocate-ffmpeg"
],
"post-install-cmd": [
"@relocate-ffmpeg"
],
"relocate-ffmpeg": [
"test -f ./plugins/ffmpeg/ffmpeg/linux-x64 && mv ./plugins/ffmpeg/ffmpeg/linux-x64 ./plugins/ffmpeg/ffmpeg.exe && rm -rf ./plugins/ffmpeg/ffmpeg || true"
]
}
Expand Down

0 comments on commit 7b6726e

Please sign in to comment.