fix(qmdl-manifest): store os/arch/hardware in qmdl manifest.toml

Do not superfluously prefix these names with rayhunter_, as they describe the
hardware and not the binary.
This commit is contained in:
oopsbagel
2025-03-19 11:00:04 -07:00
committed by Will Greenberg
parent f2b5aa2743
commit 188e9f436b

View File

@@ -45,7 +45,9 @@ pub struct ManifestEntry {
pub qmdl_size_bytes: usize,
pub analysis_size_bytes: usize,
pub rayhunter_version: Option<String>,
pub rayhunter_os: Option<String>,
pub os: Option<String>,
pub arch: Option<String>,
pub hardware: Option<String>,
}
impl ManifestEntry {
@@ -59,7 +61,9 @@ impl ManifestEntry {
qmdl_size_bytes: 0,
analysis_size_bytes: 0,
rayhunter_version: Some(metadata.version),
rayhunter_os: Some(metadata.os),
os: Some(metadata.os),
arch: Some(metadata.arch),
hardware: Some(metadata.hardware),
}
}