mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-07 05:31:54 -07:00
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:
committed by
Will Greenberg
parent
f2b5aa2743
commit
188e9f436b
@@ -45,7 +45,9 @@ pub struct ManifestEntry {
|
|||||||
pub qmdl_size_bytes: usize,
|
pub qmdl_size_bytes: usize,
|
||||||
pub analysis_size_bytes: usize,
|
pub analysis_size_bytes: usize,
|
||||||
pub rayhunter_version: Option<String>,
|
pub rayhunter_version: Option<String>,
|
||||||
pub rayhunter_os: Option<String>,
|
pub os: Option<String>,
|
||||||
|
pub arch: Option<String>,
|
||||||
|
pub hardware: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ManifestEntry {
|
impl ManifestEntry {
|
||||||
@@ -59,7 +61,9 @@ impl ManifestEntry {
|
|||||||
qmdl_size_bytes: 0,
|
qmdl_size_bytes: 0,
|
||||||
analysis_size_bytes: 0,
|
analysis_size_bytes: 0,
|
||||||
rayhunter_version: Some(metadata.version),
|
rayhunter_version: Some(metadata.version),
|
||||||
rayhunter_os: Some(metadata.os),
|
os: Some(metadata.os),
|
||||||
|
arch: Some(metadata.arch),
|
||||||
|
hardware: Some(metadata.hardware),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user