adjust and fix names #1

Merged
bquarkz merged 1 commits from dev/fixes into master 2026-01-19 18:09:21 +00:00

View File

@ -77,12 +77,12 @@ fn main() {
match cli.command { match cli.command {
Some(Commands::Run { cart }) => { Some(Commands::Run { cart }) => {
dispatch(&exe_dir, "prometeu-runtime-desktop", &["--run", &cart]); dispatch(&exe_dir, "prometeu-runtime", &["--run", &cart]);
} }
Some(Commands::Debug { cart, port }) => { Some(Commands::Debug { cart, port }) => {
dispatch( dispatch(
&exe_dir, &exe_dir,
"prometeu-runtime-desktop", "prometeu-runtime",
&["--debug", &cart, "--port", &port.to_string()], &["--debug", &cart, "--port", &port.to_string()],
); );
} }
@ -117,13 +117,13 @@ fn dispatch(exe_dir: &Path, bin_name: &str, args: &[&str]) {
if !bin_path.exists() { if !bin_path.exists() {
eprintln!( eprintln!(
"prometeu: command '{}' is not yet available in this distribution", "prometeu: command '{}' is not yet available in this distribution on {}",
match bin_name { match bin_name {
"prometeu-runtime-desktop" => "run/debug", "prometeu-runtime-desktop" => "run/debug",
"prometeuc" => "build/verify c", "prometeuc" => "build/verify c",
"prometeup" => "pack/verify p", "prometeup" => "pack/verify p",
_ => bin_name, _ => bin_name,
} }, exe_dir.display()
); );
std::process::exit(1); std::process::exit(1);
} }