summaryrefslogtreecommitdiffstats
path: root/src/launcher.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-22 19:03:31 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-22 19:03:31 -0600
commitb2edba152d0256a8921f3a25d67a062163a54f59 (patch)
tree0bdc8b1ea4fedbb4d18c8347da76884c381b45b9 /src/launcher.rs
parentmore jre download stuff (diff)
finish downloaded jres
Diffstat (limited to 'src/launcher.rs')
-rw-r--r--src/launcher.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/launcher.rs b/src/launcher.rs
index d49556f..7971c3f 100644
--- a/src/launcher.rs
+++ b/src/launcher.rs
@@ -501,9 +501,7 @@ impl Launcher {
};
let runtime = self.java_runtimes.choose_runtime(java_ver.component.as_str()).await.map_err(LaunchError::JavaRuntimeRepo)?;
- dbg!(runtime);
-
- todo!("download it")
+ runtime_path = self.java_runtimes.ensure_jre(java_ver.component.as_str(), runtime).await.map_err(LaunchError::JavaRuntimeRepo)?;
}
let Some(runtime_exe_path) = runner::find_java(runtime_path.as_path(), profile.is_legacy_launch()).await