fix: fall back to node-pty when Bun is not defined (Electron/Node.js) (#1446)
Co-authored-by: Letta Code <noreply@letta.com>
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
"test:update-chain:manual": "bun run src/tests/update-chain-smoke.ts --mode manual",
|
||||
"test:update-chain:startup": "bun run src/tests/update-chain-smoke.ts --mode startup",
|
||||
"prepublishOnly": "bun run build",
|
||||
"postinstall": "node scripts/postinstall-patches.js || echo letta: vendor patches skipped"
|
||||
"postinstall": "node scripts/postinstall-patches.js || echo letta: vendor patches skipped && node -e \"try{require('fs').chmodSync(require('path').join(require.resolve('node-pty/package.json'),'../prebuilds/darwin-arm64/spawn-helper'),0o755)}catch(e){}\" || true"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx,js,jsx,json}": [
|
||||
|
||||
Reference in New Issue
Block a user