Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

style: drop redundant comment and default shell option in llamaCppInstaller

Gabriel Steinc2febad61df3
diff --git a/src/helpers/llamaCppInstaller.js b/src/helpers/llamaCppInstaller.js
index 577c5564d..a573ea22d 100644
--- a/src/helpers/llamaCppInstaller.js
+++ b/src/helpers/llamaCppInstaller.js
@@ -74,9 +74,6 @@ class LlamaCppInstaller {
async getSystemBinaryPath() {
return new Promise((resolve) => {
- // Cross-platform command resolution.
- // On Windows use where.exe with shell:false so PATH lookup does not
- // depend on cmd.exe and CRLF stdout is handled below.
const checkCmd = this.platform === "win32" ? "where.exe" : "which";
const binaryNames = this.platform === "win32" ? ["llama-server.exe"] : ["llama-server"];
@@ -85,7 +82,6 @@ class LlamaCppInstaller {
for (const name of binaryNames) {
const proc = spawn(checkCmd, [name], {
- shell: false,
windowsHide: true,
stdio: "pipe",
});