From 097eb709c3163a0be8b9d3becaabdaa76b85fafe Mon Sep 17 00:00:00 2001 From: silentrald Date: Tue, 10 Dec 2024 12:22:00 +0800 Subject: [PATCH] [bugfix] change linux shell from /bin/bash to bash --- src/main/helpers/os.helpers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/helpers/os.helpers.ts b/src/main/helpers/os.helpers.ts index 6f22ff4fe..99a122587 100644 --- a/src/main/helpers/os.helpers.ts +++ b/src/main/helpers/os.helpers.ts @@ -41,8 +41,8 @@ function updateCommand(command: string, options: BsmSpawnOptions) { if (process.platform === "linux") { // "/bin/sh" does not see flatpak-spawn - // Most Debian and Arch should also support "/bin/bash" - options.options.shell = "/bin/bash"; + // All distros should support "bash" by default + options.options.shell = "bash"; if (options.linux?.prefix) { command = `${options.linux.prefix} ${command}`;