Use correct pkg arg

This commit is contained in:
Sander Declerck 2025-11-28 11:06:43 +01:00
parent bc51c839d0
commit c70659b7a1
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ function buildSafeChainBinary(target) {
// eslint-disable-next-line no-console
console.error("Target: " + target);
return new Promise((resolve, reject) => {
const pkg = spawn("pkg", ["./build/package.json", `--target=${target}`], {
const pkg = spawn("pkg", ["./build/package.json", "--targets", target], {
stdio: "inherit",
shell: true,
});