eugeneware/ffmpeg-static
Auf GitHub ansehenstore platform & arch information next to installed binary
Open
#48 geöffnet am 19. Mai 2020
enhancementhelp wanted
Repository-Metriken
- Stars
- (1.358 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
#35 made clear that, in a cross-platform-packaging project using ffmpeg-static as a dependency, a second npm install should install an ffmpeg binary for a different platform/arch than before.
To enable this, install.js needs to
- write the platform & arch next to the binary (e.g. to
ffmpeg.json). - check if there's a
ffmpeg.jsonin place, with a different platform/arch than desired. If platform & arch are equal, it can exit successfully.