From 63e647bd91b3b67f9e42a77ea299161d651ea898 Mon Sep 17 00:00:00 2001 From: rukhaam19 Date: Sun, 13 Sep 2026 13:39:16 +0530 Subject: [PATCH 1/2] feat: add desktop toolchain PATH healing script and unit tests --- scripts/desktop-toolchain-path.mjs | 2 +- tests/frontend/desktopScripts.test.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/desktop-toolchain-path.mjs b/scripts/desktop-toolchain-path.mjs index 9b2b790f..f9fe7dde 100644 --- a/scripts/desktop-toolchain-path.mjs +++ b/scripts/desktop-toolchain-path.mjs @@ -100,7 +100,7 @@ export function cargoMissingMessage(command) { `❌ ${command} needs Rust/cargo, and none was found.`, "", " Install the Rust toolchain, then reopen your terminal:", - " Windows: winget install Rust.Rustup", + " Windows: winget install Rustlang.Rustup", " macOS/Linux: https://rustup.rs", "", " Or download a prebuilt installer from the Releases page (no toolchain needed).", diff --git a/tests/frontend/desktopScripts.test.mjs b/tests/frontend/desktopScripts.test.mjs index 2a93e62b..4458968b 100644 --- a/tests/frontend/desktopScripts.test.mjs +++ b/tests/frontend/desktopScripts.test.mjs @@ -294,6 +294,6 @@ test('launcher messages name the tag, the permanent remedy, and the install path assert.match(note, /Open a new terminal/); const msg = cargoMissingMessage('`bun desktop-prod`'); assert.match(msg, /`bun desktop-prod` needs Rust\/cargo/); - assert.match(msg, /winget install Rust\.Rustup/); + assert.match(msg, /winget install Rustlang\.Rustup/); assert.match(msg, /rustup\.rs/); }); From fc98d07b39db8d1485d5aeb4d06ffae90e81426f Mon Sep 17 00:00:00 2001 From: Palash Debnath <4178343+debpalash@users.noreply.github.com> Date: Thu, 17 Sep 2026 12:10:32 +0530 Subject: [PATCH 2/2] fix: integrate current main and finish review requirements for #2066 --- CHANGELOG.md | 4 ++++ docs/install/windows.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c6df8b7..a4b623d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,10 @@ the frozen-backend fallback mirror it for their toolchains. - Handle missing Electron signing credentials and retry packaging fixes without moving release tags (#2157) +### Fixed + +- Correct the Windows Rustup installation command in tooling and documentation (#2066) — thanks @Rukhaam! + ## [0.5.3] — 2026-09-17 **Highlights** diff --git a/docs/install/windows.md b/docs/install/windows.md index 0a359a36..ae3a899a 100644 --- a/docs/install/windows.md +++ b/docs/install/windows.md @@ -48,7 +48,7 @@ Everything above, plus the toolchain: with the **"Desktop development with C++"** workload checked. - **Bun** — `powershell -c "irm bun.sh/install.ps1 | iex"`. - **FFmpeg** — `winget install Gyan.FFmpeg`. -- **Rust / Cargo** — `winget install Rust.Rustup` or download `rustup-init.exe` from [rustup.rs](https://rustup.rs/). +- **Rust / Cargo** — `winget install Rustlang.Rustup` or download `rustup-init.exe` from [rustup.rs](https://rustup.rs/). After installing Rustup, close and reopen PowerShell before running `bun run tauri:desktop-prod`. ## GPU support on Windows