From b317a8a652d2e3a48c8b9f4940c7933d3802cfc3 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Mon, 20 Jan 2025 04:33:28 -0600 Subject: it runs the game --- ozone-cli/src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ozone-cli/src') diff --git a/ozone-cli/src/main.rs b/ozone-cli/src/main.rs index bb72ce3..b811f9a 100644 --- a/ozone-cli/src/main.rs +++ b/ozone-cli/src/main.rs @@ -20,11 +20,15 @@ async fn main() -> Result<(), Box> { let profile = settings.get_profile("default").unwrap(); - launcher.prepare_launch(profile.get_version(), settings.get_instance_for(profile)).await.map_err(|e| { + let launch = launcher.prepare_launch(profile, settings.get_instance_for(profile)).await.map_err(|e| { error!("error launching: {e}"); e })?; + + dbg!(&launch); info!("ok"); + o3launcher::launcher::run_the_game(&launch); + Ok(()) } -- cgit v1.2.3-70-g09d2