Skip to content

Commit 6f5cfde

Browse files
committed
feedback
1 parent fd4b3bf commit 6f5cfde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const hasElectron = fs.existsSync(electronPath);
2020
if (hasElectron) {
2121
console.log('🔧 Electron detected - rebuilding node-pty for Electron...');
2222
try {
23-
execSync('npx @electron/rebuild -f -m node_modules/node-pty', {
23+
execSync('npx @electron/rebuild -f -m . --only node-pty', {
2424
stdio: 'inherit',
2525
cwd: path.join(__dirname, '..')
2626
});

0 commit comments

Comments
 (0)