eugeneware/ffmpeg-static

store platform & arch information next to installed binary

Open

#48 创建于 2020年5月19日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)JavaScript (201 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (1,358 star)
PR 合并指标
 (PR 指标待抓取)

描述

#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.

贡献者指南