From 188e9f436b1b9637492256772b6dbdf2c984eee0 Mon Sep 17 00:00:00 2001 From: oopsbagel Date: Wed, 19 Mar 2025 11:00:04 -0700 Subject: [PATCH] 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. --- bin/src/qmdl_store.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/src/qmdl_store.rs b/bin/src/qmdl_store.rs index f7681bb..0a41336 100644 --- a/bin/src/qmdl_store.rs +++ b/bin/src/qmdl_store.rs @@ -45,7 +45,9 @@ pub struct ManifestEntry { pub qmdl_size_bytes: usize, pub analysis_size_bytes: usize, pub rayhunter_version: Option, - pub rayhunter_os: Option, + pub os: Option, + pub arch: Option, + pub hardware: Option, } 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), } }