Integrate signed agent catalog, tenant enrollment and HTTPS installers

This commit is contained in:
2026-11-17 15:56:18 +01:00
parent 689f326460
commit 7fd17272d5
70 changed files with 12982 additions and 327 deletions
@@ -0,0 +1,25 @@
//! Stable updater is installed separately from the two mutable code roles.
#[cfg(windows)]
fn main() -> anyhow::Result<()> {
let mut args = std::env::args_os().skip(1);
match args.next().as_deref() {
None => rmm_agent_windows::update_worker::dispatch(),
Some(flag) if flag == "--release-service" && args.next().is_none() => {
rmm_agent_windows::release_service::dispatch()
}
Some(flag) if flag == "--verify-bootstrap" => {
let release = rmm_updater::verify_bootstrap_files(
rmm_agent_windows::release_platform::VERIFY,
&args.collect::<Vec<_>>(),
)?;
println!("{}", serde_json::to_string(release.manifest())?);
Ok(())
}
_ => anyhow::bail!("unrecognized Windows updater arguments"),
}
}
#[cfg(not(windows))]
fn main() {
eprintln!("Windows stable updater requires a Windows target");
std::process::exit(1);
}