From d01e28f481647bd1e246443510e991bf7243b7e8 Mon Sep 17 00:00:00 2001 From: Esdras Renan Date: Tue, 25 Nov 2025 13:57:52 -0300 Subject: [PATCH] =?UTF-8?q?fix(tauri):=20remove=20aspas=20no=20cmd=20/C=20?= =?UTF-8?q?para=20tauri.cmd=20com=20espa=C3=A7os?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/desktop/scripts/tauri-with-stub.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/desktop/scripts/tauri-with-stub.mjs b/apps/desktop/scripts/tauri-with-stub.mjs index 0c95f55..9fef3c5 100644 --- a/apps/desktop/scripts/tauri-with-stub.mjs +++ b/apps/desktop/scripts/tauri-with-stub.mjs @@ -28,7 +28,10 @@ if (!process.env.TAURI_BUNDLE_TARGETS) { const winTauriPath = resolve(appRoot, "node_modules", ".bin", "tauri.cmd") const usingWinTauri = process.platform === "win32" && existsSync(winTauriPath) const executable = process.platform === "win32" && usingWinTauri ? "cmd.exe" : "tauri" -const args = process.platform === "win32" && usingWinTauri ? ["/C", `"${winTauriPath}"`, ...process.argv.slice(2)] : process.argv.slice(2) +const args = + process.platform === "win32" && usingWinTauri + ? ["/C", winTauriPath, ...process.argv.slice(2)] + : process.argv.slice(2) const child = spawn(executable, args, { stdio: "inherit", shell: false,