From f7c34d0b1ff614f2df8dcffe6a8bf6353db58287 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Sat, 8 May 2021 10:37:31 +0100 Subject: [PATCH] Pass run args to JVM (#6) --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 53c7ff9..8c7cae4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -84,6 +84,7 @@ fn launch_if_valid_java_installation>(path: P) { .arg(format!("-Dfabric.installer.mojanglauncher.open={}", launcher_open)) .arg("-jar") .arg(launch_exe) + .args(env::args())// Pass the run args through .status(); if let Ok(status) = status {