mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
Fix mod installer not starting on new runtime
This commit is contained in:
parent
12362b2318
commit
98a098a397
@ -262,7 +262,7 @@ public class JavaGUILauncherActivity extends BaseActivity implements View.OnTouc
|
|||||||
|
|
||||||
// Enable Caciocavallo
|
// Enable Caciocavallo
|
||||||
JREUtils.jreReleaseList = JREUtils.readJREReleaseProperties(LauncherPreferences.PREF_DEFAULT_RUNTIME);
|
JREUtils.jreReleaseList = JREUtils.readJREReleaseProperties(LauncherPreferences.PREF_DEFAULT_RUNTIME);
|
||||||
Tools.getCacioJavaArgs(javaArgList,JREUtils.jreReleaseList.get("JAVA_VERSION").equals("1.8.0"));
|
Tools.getCacioJavaArgs(javaArgList,JREUtils.jreReleaseList.get("JAVA_VERSION").startsWith("1.8.0"));
|
||||||
|
|
||||||
if (javaArgs != null) {
|
if (javaArgs != null) {
|
||||||
javaArgList.addAll(Arrays.asList(javaArgs.split(" ")));
|
javaArgList.addAll(Arrays.asList(javaArgs.split(" ")));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user