mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 15:48:26 -04:00
Fix x86
This commit is contained in:
parent
1e8a51fd72
commit
6d23805215
@ -934,7 +934,7 @@ public class BaseMainActivity extends LoggableActivity implements OnTouchListene
|
||||
private void checkJavaArchitecture(String jreArch) throws Exception {
|
||||
String[] argName = Tools.currentArch.split("/");
|
||||
appendlnToLog("Architecture: " + Tools.currentArch);
|
||||
if (!(jreArch.contains(argName[0]) || jreArch.contains(argName[1])) && !(jreArch.startsWith("i") && jreArch.endsWith("86") && argName[1].equals("x86"))) {
|
||||
if (!(jreArch.contains(argName[0]) || jreArch.contains(argName[1])) && !(jreArch.startsWith("i") && jreArch.endsWith("86") && argName[1].contains("x86"))) {
|
||||
appendlnToLog("Architecture " + Tools.currentArch + " is incompatible with Java Runtime " + jreArch);
|
||||
throw new RuntimeException(getString(R.string.mcn_check_fail_incompatiblearch, Tools.currentArch, jreArch));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user