Feat[jre_unpack]: add Jre 21 path to the launcher and .gitignore

This commit is contained in:
artdeell 2024-06-14 21:30:50 +03:00 committed by Maksim Belov
parent eccef88183
commit 2364203366
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
/*/build
app_pojavlauncher/src/main/assets/components/jre
/app_pojavlauncher/src/main/assets/components/jre-new/
/app_pojavlauncher/src/main/assets/components/jre-21/
local.properties
.idea/
app_pojavlauncher/.cxx/

View File

@ -101,7 +101,8 @@ public class NewJREUtil {
}
private enum InternalRuntime {
JRE_17(17, "Internal-17", "components/jre-new");
JRE_17(17, "Internal-17", "components/jre-new"),
JRE_21(21, "Internal-21", "components/jre-21");
public final int majorVersion;
public final String name;
public final String path;