Add APK output for x86_64 CPU architecture

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>
This commit is contained in:
Jays2Kings 2022-12-17 16:03:40 -05:00
parent 954c361c1d
commit 08afc7fdf6
3 changed files with 9 additions and 2 deletions

View file

@ -23,7 +23,7 @@ fun runCommand(command: String): String {
return String(byteOut.toByteArray()).trim()
}
val supportedAbis = setOf("armeabi-v7a", "arm64-v8a", "x86")
val supportedAbis = setOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
android {
compileSdk = AndroidVersions.compileSdk

View file

@ -30,7 +30,8 @@ data class GithubRelease(
val apkVariant = when (Build.SUPPORTED_ABIS[0]) {
"arm64-v8a" -> "-arm64-v8a"
"armeabi-v7a" -> "-armeabi-v7a"
"x86", "x86_64" -> "-x86"
"x86" -> "-x86"
"x86_64" -> "-x86_64"
else -> ""
}