Skip to content

Commit

Permalink
Fix unix terminals for bundled apps (#13658)
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew authored Apr 29, 2024
1 parent 90c6334 commit d413dad
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ export class NativeWebpackPlugin {
const dllFile = require.resolve('node-pty/build/Release/winpty.dll');
const targetDllFile = path.join(targetDirectory, 'winpty.dll');
await this.copyExecutable(dllFile, targetDllFile);
} else {
const sourceFile = require.resolve('node-pty/build/Release/spawn-helper');
const targetFile = path.join(targetDirectory, 'spawn-helper');
await this.copyExecutable(sourceFile, targetFile);
}
}

Expand Down

0 comments on commit d413dad

Please sign in to comment.