diff --git a/build.gradle b/build.gradle index 1220f8b22..909984562 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ android { applicationId "com.topjohnwu.magisk" minSdkVersion 21 targetSdkVersion rootProject.ext.compileSdkVersion - versionCode 112 + versionCode 113 versionName "5.6.4" javaCompileOptions { annotationProcessorOptions { diff --git a/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java b/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java index 2b5925666..36b78e0fd 100644 --- a/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java +++ b/src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java @@ -76,11 +76,11 @@ public class InstallMagisk extends ParallelTask { List abis = Arrays.asList(Build.SUPPORTED_ABIS); String arch; - if (abis.contains("x86_64")) arch = "x64"; - else if (abis.contains("arm64-v8a")) arch = "arm64"; - else if (abis.contains("x86")) arch = "x86"; - else arch = "arm"; - console.add("- Device platform: " + arch); + if (abis.contains("x86")) + arch = "x86"; + else + arch = "arm"; + console.add("- Device platform: " + Build.SUPPORTED_ABIS[0]); try { // Unzip files