Added arm download link to readme.
Added arm to commandline help.
This commit is contained in:
parent
a420dc2967
commit
ee257c0a9a
@ -5,7 +5,7 @@ FFmpeg prebuilt binaries with proprietary codecs and build instructions for Wind
|
||||
|
||||
|
||||
### Downloads (v0.43.6)
|
||||
- Linux: [32bit](https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.43.6/0.43.6-linux-ia32.zip) / [64bit](https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.43.6/0.43.6-linux-x64.zip)
|
||||
- Linux: [32bit](https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.43.6/0.43.6-linux-ia32.zip) / [64bit](https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.43.6/0.43.6-linux-x64.zip) / [arm](https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.43.6/0.43.6-linux-arm.zip)
|
||||
- Windows: [32bit](https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.43.6/0.43.6-win-ia32.zip) / [64bit](https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.43.6/0.43.6-win-x64.zip)
|
||||
- Mac: [64bit](https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.43.6/0.43.6-osx-x64.zip)
|
||||
|
||||
@ -21,7 +21,7 @@ npx nwjs-ffmpeg-prebuilt [-h] [-c] [-d] [--get-download-url] [--version NW_VERSI
|
||||
- *-h, --help* : Show the help message and exit
|
||||
- *-c, --clean* : Clean the workspace, removes downloaded source code
|
||||
- *-v NW_VERSION, --version NW_VERSION* : Build ffmpeg for the specified Nw.js version (latest from http://nwjs.io/versions.json if not specified)
|
||||
- *-a TARGET_ARCH, --arch TARGET_ARCH* : Target architecture, x86, x64
|
||||
- *-a TARGET_ARCH, --arch TARGET_ARCH* : Target architecture, x86, x64, arm
|
||||
- *-d, --download* : Download Prebuild binaries.
|
||||
- *-p, --platform* : Download platform, darwin, win, linux
|
||||
- *--get-download-url* : Get Download Url for Prebuild binaries
|
||||
|
2
build.js
2
build.js
@ -10,7 +10,7 @@ const {promisify} = require('util');
|
||||
const pipeline = promisify(stream.pipeline);
|
||||
|
||||
program
|
||||
.option('-a, --arch [arch]', 'Target architecture, ia32, x64', 'x64')
|
||||
.option('-a, --arch [arch]', 'Target architecture, ia32, x64, arm', 'x64')
|
||||
.option('-v, --version [version]', 'Build FFmpeg for the specified NW.js version or Branch', false)
|
||||
.option('-c, --clean', 'Clean the workspace, removes downloaded source code')
|
||||
.option('-d, --download', 'Download Prebuild binaries.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user