Revert "fix(desktop): align shell invocation across Electron and Tauri"

This reverts commit ec3b418934.
This commit is contained in:
Pascal André
2026-04-18 21:59:35 +02:00
parent ec3b418934
commit 3ec1598bbd
2 changed files with 20 additions and 8 deletions

View File

@@ -1288,11 +1288,8 @@ fn build_shell_args(shell: &str, command: &str) -> Vec<String> {
.unwrap_or("")
.to_lowercase();
if shell_name.contains("zsh") || shell_name.contains("bash") {
vec!["-i".into(), "-l".into(), "-c".into(), command.into()]
} else {
vec!["-l".into(), "-c".into(), command.into()]
}
let _ = shell_name;
vec!["-l".into(), "-c".into(), command.into()]
}
fn first_existing(paths: Vec<Option<PathBuf>>) -> Option<String> {