From 8edfc1f45c36ab84507736ab08b73e4ccf3b1d1f Mon Sep 17 00:00:00 2001 From: Jannis R Date: Fri, 2 Dec 2022 17:54:37 +0100 Subject: [PATCH] =?UTF-8?q?move=20binaries=20download=20script:=20build/in?= =?UTF-8?q?dex.js=20->=20download-binaries/index.sh=20=F0=9F=92=9A?= =?UTF-8?q?=F0=9F=93=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-binaries.yml | 2 +- .gitignore | 4 ++-- README.md | 4 ++-- {build => download-binaries}/index.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename {build => download-binaries}/index.sh (99%) 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