summaryrefslogtreecommitdiffstats
path: root/ozone-cli/src
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-20 04:33:28 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-20 04:33:28 -0600
commitb317a8a652d2e3a48c8b9f4940c7933d3802cfc3 (patch)
treeec06208dd483d17eb7c764587c7629e4e4f0d100 /ozone-cli/src
parentget rid of wacky closure business (diff)
it runs the game
Diffstat (limited to 'ozone-cli/src')
-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(())
}