Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix $INST_JAVA not being set for auto download java #3179

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

sshcrack
Copy link
Contributor

@sshcrack sshcrack commented Dec 8, 2024

Fixes #3177

Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
@Trial97
Copy link
Member

Trial97 commented Dec 8, 2024

The auto install steps needs to be after loadmetadata so the data for what java should be downloaded to be available

@Trial97 Trial97 self-requested a review December 8, 2024 15:08
Signed-off-by: sshcrack <34072808+sshcrack@users.noreply.github.com>
Copy link
Member

@Trial97 Trial97 left a comment

Choose a reason for hiding this comment

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

Not tested it yet but this order should not break anything (maybe just the weird cases where users modify the instance settings or the components in the prelaunch command; e.g. maybe they have a tool that just changes the Minecraft version to the latest but that is already a long strech)

@getchoo getchoo added this to the 9.3 milestone Jan 17, 2025
@getchoo getchoo added bug Something isn't working changelog:fixed A PR that appears under "Fixed" in the changelog labels Jan 17, 2025
Copy link
Member

@getchoo getchoo left a comment

Choose a reason for hiding this comment

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

Thanks!

@getchoo getchoo added the backport release-9.x Backport PR automatically label Jan 17, 2025
@getchoo getchoo merged commit b7f2175 into PrismLauncher:develop Jan 17, 2025
17 checks passed
Copy link
Contributor

Backport failed for release-9.x, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-9.x
git worktree add -d .worktree/backport-3179-to-release-9.x origin/release-9.x
cd .worktree/backport-3179-to-release-9.x
git switch --create backport-3179-to-release-9.x
git cherry-pick -x dedb7a2343f7d433492dee5930802ed47294b722 cf2dcbd431b0c4bb03ff527465f972d72f713b0c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release-9.x Backport PR automatically bug Something isn't working changelog:fixed A PR that appears under "Fixed" in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$INST_JAVA not set for Pre-launch commands when java is not available on the system
4 participants