fix: update system architecture retrieval method in PlatformSpecification

This commit is contained in:
Tunglies 2025-03-20 06:20:19 +08:00
parent 1b249564a3
commit 5c0cde517f

View File

@ -26,7 +26,7 @@ impl PlatformSpecification {
let system_name = System::name().unwrap_or("Null".into());
let system_version = System::long_os_version().unwrap_or("Null".into());
let system_kernel_version = System::kernel_version().unwrap_or("Null".into());
let system_arch = std::env::consts::ARCH.to_string();
let system_arch = System::cpu_arch();
let handler = handle::Handle::global().app_handle().unwrap();
let config = handler.config();