Skip to content

Commit 3a4972b

Browse files
authored
feat(cli): include arch in the tauri info output (#10793)
1 parent 72597a7 commit 3a4972b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changes/cli-info-include-arch.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-cli": patch:enhance
3+
"@tauri-apps/cli": patch:enhance
4+
---
5+
6+
Include architecture in the `tauri info` output.

tooling/cli/src/info/env_system.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,10 @@ pub fn items() -> Vec<SectionItem> {
181181
SectionItem::new().action(|| {
182182
let os_info = os_info::get();
183183
format!(
184-
"OS: {} {} {:?}",
184+
"OS: {} {} {} ({:?})",
185185
os_info.os_type(),
186186
os_info.version(),
187+
os_info.architecture().unwrap_or("Unknown Architecture"),
187188
os_info.bitness()
188189
).into()
189190
}),

0 commit comments

Comments
 (0)