Wire the container-runner purpose build

This commit is contained in:
Pavel Isaev 2026-11-10 01:01:56 +03:00
parent 6a3b5cb047
commit 8ac954b2aa

View file

@ -42,6 +42,9 @@ fn main() -> ExitCode {
["build", "iso", "--purpose", "gnome", work, bootstrap] => archipelago_builder::build_gnome_probe_script()
.and_then(|script| env::current_exe().map_err(|e| e.to_string()).and_then(|binary|
run(&script, &[work.to_string(), bootstrap.to_string(), binary.display().to_string(), "gnome-probe".into()]))),
["build", "iso", "--purpose", "container-runner", work, bootstrap] => archipelago_builder::build_container_runner_script()
.and_then(|script| env::current_exe().map_err(|e| e.to_string()).and_then(|binary|
run(&script, &[work.to_string(), bootstrap.to_string(), binary.display().to_string(), "container-runner".into()]))),
["desktop", "reconcile"] => archipelago_system::desktop::reconcile(),
["build", "iso", "--purpose", "kde", work, bootstrap] => archipelago_builder::build_kde_probe_script()
.and_then(|script| env::current_exe().map_err(|e| e.to_string()).and_then(|binary|