This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Description
https://www.npmjs.com/package/bin-wrapper uses an outdated library called https://www.npmjs.com/package/os-filter-obj which doesn't support non-Intel arch: kevva/os-filter-obj#3
This makes swcx currently not work via this wrapper.
|
.src(`${releaseBase}/${binaryName}`, platform, arch) |
Removing
platform and
arch here, makes it work fine and should also cause no problems since with the
getBinaryName() function we already download the correct platform and arch from the releases page.
|
arm64: "swc-darwin-arm64", |
|
const binaryName = platformBinaryMap[platform][arch]; |