-
Notifications
You must be signed in to change notification settings - Fork 22
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
Automatic Java Installation (WIP) #166
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # ProjBobcat/ProjBobcat/DefaultComponent/Launch/DefaultLaunchArgumentParser.cs
|
I'm not planning to merge this PR right now because distributing Java executables has potential legal issues. I'll do some further investigation to see if we want to add this to the ProjBobcat library! |
I've read different people's opinions on this issue. As I understand it, you cannot automatically install Java from the official website without the end user's approval of their license, but you can automatically install java for Minecraft. The automatic installer that is written here installs java with the Mojang server. |
Also, many launchers also install java automatically from the Mojang website. Also, the cmilib.core library, which is a library for running Minecraft in c#, also installs java automatically. |
PR-Codex overview
This PR introduces new classes and properties related to Java runtime management in the
ProjBobcat
project, enhancing the ability to download and manage Java resources effectively.Detailed summary
AdditionalArguments
property toLaunchSettings
.JavaDownloadInfo
class implementingIGameResource
.JavaPlatformManifest
,JavaRuntime
,Availability
,Manifest
,Version
,JavaDownloadFiles
,JavaFile
,JreDownload
, andStorageType
classes for managing Java runtime data.JavaInfoResolver
class to resolve Java resources asynchronously, including methods for getting runtime and platform information.