From ddc1b312f4753fcbc6652e26121b73a80bfb82c3 Mon Sep 17 00:00:00 2001 From: guest271314 Date: Wed, 17 Jul 2024 21:30:05 -0700 Subject: [PATCH] Update installer.js Fixes https://github.com/devsnek/esvu/issues/58 --- src/installer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer.js b/src/installer.js index 981859f..4ffd14a 100644 --- a/src/installer.js +++ b/src/installer.js @@ -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, {