Skip to content

Commit

Permalink
Update installer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
guest271314 authored Jul 18, 2024
1 parent 09a20f3 commit ddc1b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class EngineInstaller {
name += '.cmd';
source = `@echo off\r\n${body} %*\r\n`;
} else {
source = `#!/usr/bin/env bash\n${body} "$@"\n`;
source = `#!/usr/bin/env bash\nexec ${body} "$@"\n`;
}
const full = path.join(ESVU_PATH, 'bin', name);
await fs.promises.writeFile(full, source, {
Expand Down

0 comments on commit ddc1b31

Please sign in to comment.