summaryrefslogtreecommitdiffstats
path: root/src/launcher/runner.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-20 18:22:35 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-20 18:22:35 -0600
commit8c3706df11abadafec89ef0546d20c79d31ec92b (patch)
tree6370b36d566b54969f7d6de9fc5a0779615b7617 /src/launcher/runner.rs
parentit runs the game (diff)
increase number of concurrent tasks
Diffstat (limited to 'src/launcher/runner.rs')
-rw-r--r--src/launcher/runner.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/launcher/runner.rs b/src/launcher/runner.rs
index 8c7af3d..0f65b49 100644
--- a/src/launcher/runner.rs
+++ b/src/launcher/runner.rs
@@ -111,7 +111,7 @@ pub fn build_arguments<'l, F: FeatureMatcher>(launch: &LaunchInfo<'l, F>, versio
}
pub fn run_the_game(launch: &Launch) -> Result<(), Box<dyn std::error::Error>> {
- Command::new("/usr/lib/jvm/java-8-openjdk-amd64/bin/java")
+ Command::new("java")
.args(launch.jvm_args.iter()
.map(|o| o.as_os_str())
.chain(iter::once(OsStr::new(launch.main_class.as_str())))