diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index fdc661b..adbf8b4 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -13,7 +13,7 @@ jobs: - run: sudo apt install -y p7zip - name: Download Binaries - run: sh ./build/index.sh + run: sh ./download-binaries/index.sh - name: Compress Binaries run: | diff --git a/.gitignore b/.gitignore index 2a91fd0..295597f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,8 @@ node_modules/ npm-debug.log -build/* -!build/index.sh +download-binaries/* +!download-binaries/index.sh bin/* diff --git a/README.md b/README.md index 65c0152..01f2cdb 100644 --- a/README.md +++ b/README.md @@ -51,14 +51,14 @@ Check the [example script](example.js) for a more thorough example. ## Sources of the binaries -[The build script](build/index.sh) downloads binaries from these locations: +[The binaries download script](download-binaries/index.sh) downloads binaries from these locations: - [Windows x64 builds](https://www.gyan.dev/ffmpeg/builds/) - [Windows x86 builds](https://github.com/sudo-nautilus/FFmpeg-Builds-Win32/) - [Linux x64/x86/ARM/ARM64 builds](https://johnvansickle.com/ffmpeg/) - macOS [x64 (Intel)](https://evermeet.cx/pub/ffmpeg/) & [ARM64 (Apple Silicon)](https://osxexperts.net/) builds -The build script extracts build information and (when possible) the license file from the downloaded package or the distribution server. Please consult the individual build's project site for exact source versions, which you can locate based on the version information included in the README file. +The script extracts build information and (when possible) the license file from the downloaded package or the distribution server. Please consult the individual build's project site for exact source versions, which you can locate based on the version information included in the README file. ## Show your support diff --git a/build/index.sh b/download-binaries/index.sh similarity index 99% rename from build/index.sh rename to download-binaries/index.sh index c44c835..c615e84 100755 --- a/build/index.sh +++ b/download-binaries/index.sh @@ -23,7 +23,7 @@ mkdir -p ../bin download () { # todo: use https://gist.github.com/derhuerst/745cf09fe5f3ea2569948dd215bbfe1a ? - curl -f -L -# --compressed -A 'https://github.com/eugeneware/ffmpeg-static build script' -o $2 $1 + curl -f -L -# --compressed -A 'https://github.com/eugeneware/ffmpeg-static binaries download script' -o $2 $1 } set -x # todo: remove