Skip to content

Commit 5bf2822

Browse files
authored
fix: remove cmd-incompatible quotes from tauri-cli command (#965)
* fix: remove quotes from tauri-cli install version * Update .changes/fix-tauri-cli-cmd-install-command.md
1 parent 847647e commit 5bf2822

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"create-tauri-app": patch
3+
"create-tauri-app-js": patch
4+
---
5+
6+
Remove CMD-incompatible quotes from the printed `tauri-cli` install command.

src/deps.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ pub fn print_missing_deps(
170170
Dep {
171171
name: "Tauri CLI",
172172
instruction: match tauri_version {
173-
TauriVersion::V1 => format!("Run `{BLUE}{BOLD}cargo install tauri-cli --version '^1.0.0' --locked{RESET}`"),
174-
TauriVersion::V2 => format!("Run `{BLUE}{BOLD}cargo install tauri-cli --version '^2.0.0' --locked{RESET}`"),
173+
TauriVersion::V1 => format!("Run `{BLUE}{BOLD}cargo install tauri-cli --version ^1.0.0 --locked{RESET}`"),
174+
TauriVersion::V2 => format!("Run `{BLUE}{BOLD}cargo install tauri-cli --version ^2.0.0 --locked{RESET}`"),
175175
},
176176
exists: &|| is_tauri_cli_installed(tauri_version),
177177
skip: pkg_manager.is_node() || !template.needs_tauri_cli(),

0 commit comments

Comments
 (0)