- Java architecture check is now performed in the Runtime Manager dialog.
- Required Java version is now stated when launching 1.17+ without it installed.
- [Mod installer] Java version is now checked before displaying the file picker. Java 8 is now automatically selected.
- [Mod installer] Brought back "Launch with custom arguments", can be accessed by long-pressing the "Install .jar" button.
This commit is contained in:
khanhduytran0 2022-01-30 16:44:49 +07:00
parent 658c937d73
commit 9114ddacf6
8 changed files with 45 additions and 29 deletions

View file

@ -183,7 +183,7 @@ public class BaseMainActivity extends BaseActivity {
checkLWJGL3Installed();
JREUtils.jreReleaseList = JREUtils.readJREReleaseProperties();
JREUtils.checkJavaArchitecture(this, JREUtils.jreReleaseList.get("OS_ARCH"));
Logger.getInstance().appendToLog("Architecture: " + Architecture.archAsString(Tools.DEVICE_ARCHITECTURE));
checkJavaArgsIsLaunchable(JREUtils.jreReleaseList.get("JAVA_VERSION"));
// appendlnToLog("Info: Custom Java arguments: \"" + LauncherPreferences.PREF_CUSTOM_JAVA_ARGS + "\"");