mirror of https://github.com/tauri-apps/tauri
feat(cli): include arch in the `tauri info` output (#10793)
This commit is contained in:
parent
72597a77f9
commit
3a4972b394
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
"tauri-cli": patch:enhance
|
||||
"@tauri-apps/cli": patch:enhance
|
||||
---
|
||||
|
||||
Include architecture in the `tauri info` output.
|
|
@ -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()
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue