You've already forked AstralRinth
forked from didirus/AstralRinth
Host all loaders for forge, fix stable markers, add java version to daedalus
This commit is contained in:
@@ -229,6 +229,15 @@ pub struct LibraryExtract {
|
||||
pub exclude: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
/// Information about the java version the game needs
|
||||
pub struct JavaVersion {
|
||||
/// The component needed for the Java installation
|
||||
component: String,
|
||||
/// The major Java version number
|
||||
major_version: u32,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
/// A library which the game relies on to run
|
||||
pub struct Library {
|
||||
@@ -311,6 +320,9 @@ pub struct VersionInfo {
|
||||
pub downloads: HashMap<DownloadType, Download>,
|
||||
/// The version ID of the version
|
||||
pub id: String,
|
||||
|
||||
/// The Java version this version supports
|
||||
pub java_version: JavaVersion,
|
||||
/// Libraries that the version depends on
|
||||
pub libraries: Vec<Library>,
|
||||
/// The classpath to the main class to launch the game
|
||||
|
||||
Reference in New Issue
Block a user