Skip to content

Commit

Permalink
feat(cli): include arch in the tauri info output (#10793)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Aug 27, 2024
1 parent 72597a7 commit 3a4972b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changes/cli-info-include-arch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---

Include architecture in the `tauri info` output.
3 changes: 2 additions & 1 deletion tooling/cli/src/info/env_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,10 @@ pub fn items() -> Vec<SectionItem> {
SectionItem::new().action(|| {
let os_info = os_info::get();
format!(
"OS: {} {} {:?}",
"OS: {} {} {} ({:?})",
os_info.os_type(),
os_info.version(),
os_info.architecture().unwrap_or("Unknown Architecture"),
os_info.bitness()
).into()
}),
Expand Down

0 comments on commit 3a4972b

Please sign in to comment.