diff options
| author | 2025-01-20 18:22:35 -0600 | |
|---|---|---|
| committer | 2025-01-20 18:22:35 -0600 | |
| commit | 8c3706df11abadafec89ef0546d20c79d31ec92b (patch) | |
| tree | 6370b36d566b54969f7d6de9fc5a0779615b7617 /src/launcher/runner.rs | |
| parent | it runs the game (diff) | |
increase number of concurrent tasks
Diffstat (limited to 'src/launcher/runner.rs')
| -rw-r--r-- | src/launcher/runner.rs | 2 |
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()))) |
