Skip to content

Commit

Permalink
fix: path on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Dec 22, 2024
1 parent e779379 commit bf33fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/pty-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const createPtyManager = (arg: {

// Add the bundled bin dir to the PATH env var
if (process.platform === 'win32') {
entry.process.write(`$env:Path='${getBundledBinPath()}';$env:Path\r`);
entry.process.write(`$env:Path='${getBundledBinPath()};'+$env:Path\r`);
} else {
// macOS, Linux
entry.process.write(`export PATH="${getBundledBinPath()}:$PATH"\r`);
Expand Down

0 comments on commit bf33fee

Please sign in to comment.