summaryrefslogtreecommitdiffstats
path: root/ozone-cli/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ozone-cli/src/main.rs')
-rw-r--r--ozone-cli/src/main.rs6
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(())
}