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

Prevent redistributing Minecraft official jar #304

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Kamesuta
Copy link
Contributor

@Kamesuta Kamesuta commented Oct 1, 2023

Prevent redistributing Minecraft official jar

Problem

HeliosLauncher includes Minecraft client jar in the distribution for versions 1.13 and above. This violates the EULA and poses a risk of receiving a DCMA request.

Solution

This pull request changes the launcher to run the Forge installer instead of bundling the jar file.

Implementation

I created a project called ForgeInstallerCLI, which allows running the Forge installer from the command line. It is based on the ForgeWrapper functionality, but with added support for getting installation progress. I made this project for HeliosLauncher, so I would like to transfer it to you if possible.

Notes

The installer is currently run in the frontend process. If needed, I can re-implement it in a fork process instead. Please let me know if you have any feedback or suggestions.

Related PRs

I also submitted separate pull requests for dscalzi/Nebula#65 and dscalzi/helios-core#3, which are required for this change to work.

@GeekCornerGH
Copy link
Contributor

Interesting concept, however I'm not sure if @dscalzi is okay to rely on third-party tools

@Kamesuta
Copy link
Contributor Author

Kamesuta commented Oct 1, 2023

Interesting concept, however I'm not sure if @dscalzi is okay to rely on third-party tools

I created the ForgeInstallerCLI with reference to ForgeWrapper (third-party tool), but it is not dependent on it.
What it does in the tool is just that, call functions in the official Forge installer while avoiding the GUI display. Therefore, the code is very simple.

Copy link
Contributor

@GeekCornerGH GeekCornerGH left a comment

Choose a reason for hiding this comment

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

Fabric has landed, please rebase your changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants