Skip to content

Commit

Permalink
Pass run args to JVM (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 authored May 8, 2021
1 parent 5dbc9fe commit f7c34d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ fn launch_if_valid_java_installation<P: AsRef<Path>>(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 {
Expand Down

1 comment on commit f7c34d0

@modmuss50
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no point in this for now as the log output is not forwarded

Please sign in to comment.