@antinomyhq/forge 0.99.0 → 0.100.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/darwin/arm64/forge-aarch64-apple-darwin +0 -0
- package/bin/darwin/x64/forge-x86_64-apple-darwin +0 -0
- package/bin/linux/arm64/forge-aarch64-unknown-linux-gnu +0 -0
- package/bin/linux/arm64/forge-aarch64-unknown-linux-musl +0 -0
- package/bin/linux/x64/forge-x86_64-unknown-linux-gnu +0 -0
- package/bin/linux/x64/forge-x86_64-unknown-linux-musl +0 -0
- package/bin/win32/arm64/forge-aarch64-pc-windows-msvc.exe +0 -0
- package/bin/win32/x64/forge-x86_64-pc-windows-msvc.exe +0 -0
- package/forge.js +8 -5
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/forge.js
CHANGED
|
@@ -21,10 +21,13 @@ if (!existsSync(forgeBinaryPath)) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// Execute the binary with the same arguments
|
|
24
|
-
const forgeProcess = spawn(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
const forgeProcess = spawn(
|
|
25
|
+
process.platform === 'win32' ? `"${forgeBinaryPath}"` : forgeBinaryPath,
|
|
26
|
+
process.argv.slice(2),
|
|
27
|
+
{
|
|
28
|
+
stdio: 'inherit',
|
|
29
|
+
shell: process.platform === 'win32' // Use shell on Windows
|
|
30
|
+
});
|
|
28
31
|
|
|
29
32
|
// Pass through SIGINT signals to the child process
|
|
30
33
|
process.on('SIGINT', () => {
|
|
@@ -37,4 +40,4 @@ process.on('SIGINT', () => {
|
|
|
37
40
|
forgeProcess.on('exit', (code) => {
|
|
38
41
|
// Only exit with code when the child actually exits
|
|
39
42
|
process.exit(code || 0);
|
|
40
|
-
});
|
|
43
|
+
});
|