diff options
Diffstat (limited to 'ozone-cli')
| -rw-r--r-- | ozone-cli/src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
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<dyn Error>> { 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(()) } |
