mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
fix(cli): js icon in tauri info (#14261)
This commit is contained in:
6
.changes/fix-js-icon-tauri-info.md
Normal file
6
.changes/fix-js-icon-tauri-info.md
Normal 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`
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user