Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 7b4a849

Browse files
fix node-pty rebuild arch target
1 parent 6949a74 commit 7b4a849

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"lint:fix": "turbo run lint:fix",
4141
"test": "turbo run test",
4242
"rebuild:node-pty": "electron-rebuild -f -o node-pty -m packages/app",
43-
"rebuild:node-pty:x64": "electron-rebuild -f --arch=x64 -o node-pty -m packages/app",
44-
"rebuild:node-pty:arm64": "electron-rebuild -f --arch=arm64 -o node-pty -m packages/app",
43+
"rebuild:node-pty:x64": "electron-rebuild -f -a x64 -o node-pty -m packages/app",
44+
"rebuild:node-pty:arm64": "electron-rebuild -f -a arm64 -o node-pty -m packages/app",
4545
"prepare": "node -e \"process.env.NODE_ENV != 'production' && process.exit(1)\" || electron-builder install-app-deps && npm run rebuild:node-pty"
4646
},
4747
"main": "packages/app/dist/main.bundle.js",

0 commit comments

Comments
 (0)