mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 21:23:45 +08:00
fix: update system architecture retrieval method in PlatformSpecification
This commit is contained in:
parent
5ebfcc6f98
commit
486f33fd7a
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user