fix(cli): js icon in tauri info (#14261)

This commit is contained in:
Tony
2025-10-08 17:58:47 +08:00
committed by GitHub
parent 19fb6f7cb0
commit d2938486e9
2 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Replaced the non-standard nerd font character with ` ⱼₛ` in `tarui info`

View File

@@ -169,12 +169,12 @@ pub fn nodejs_section_item(
.unwrap_or_default();
if version.is_empty() {
format!("{} {}: not installed!", package, "".green())
format!("{} {}: not installed!", package, " ⱼₛ".black().on_yellow())
} else {
format!(
"{} {}: {}{}",
package,
"".dimmed(),
" ⱼₛ".black().on_yellow(),
version,
if !(version.is_empty() || latest_ver.is_empty()) {
let version = semver::Version::parse(version.as_str()).unwrap();