Skip to content

Commit b99f92f

Browse files
Fix node sea build with newer node (#10345)
It seems like node now is able to bundle single excutable without an external tool but as part of this is broke the existing pipeline. This should fix it until we figure out what we want to do. Either we only keep building the executable directly on latest node and skip on other or we keep that until node 22 is dropped
1 parent 25c1dda commit b99f92f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/standalone/scripts/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ async function buildWithNodeSea() {
101101
});
102102
await action(`Injecting blob into ${exePath}`, async () => {
103103
if (process.platform === "darwin") {
104-
await execa`npx postject ${exePath} NODE_SEA_BLOB ${blobPath} --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 --macho-segment-name NODE_SEA`;
104+
await execa`npx postject ${exePath} NODE_SEA_BLOB ${blobPath} --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 --macho-segment-name NODE_SEA --overwrite`;
105105
} else {
106-
await execa`npx postject ${exePath} NODE_SEA_BLOB ${blobPath} --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2`;
106+
await execa`npx postject ${exePath} NODE_SEA_BLOB ${blobPath} --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 --overwrite`;
107107
}
108108
});
109109

0 commit comments

Comments
 (0)