eugeneware/ffmpeg-static

store platform & arch information next to installed binary

Open

#48 ouverte le 19 mai 2020

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)JavaScript (201 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 358 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

#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

  1. write the platform & arch next to the binary (e.g. to ffmpeg.json).
  2. check if there's a ffmpeg.json in place, with a different platform/arch than desired. If platform & arch are equal, it can exit successfully.

Guide contributeur