fix: build (#11611)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2025-04-30 23:49:18 +08:00
committed by GitHub
parent 83aae23ba6
commit 20fcddffbd
10 changed files with 17 additions and 17 deletions

View File

@@ -2335,7 +2335,7 @@ impl LoginConfigHandler {
.collect::<Vec<_>>()
.join(" ");
#[cfg(not(target_os = "android"))]
let my_platform = whoami::platform().to_string();
let my_platform = hbb_common::whoami::platform().to_string();
#[cfg(target_os = "android")]
let my_platform = "Android".into();
let hwid = if self.get_option("trust-this-device") == "Y" {