[native] Archive naming: use $os-$arch convention

This commit is contained in:
Pavel Punegov
2021-05-25 15:07:24 +03:00
committed by Space
parent 48ef739525
commit 3293a888ca
@@ -171,11 +171,8 @@ open class HostManager(
val hostOs = hostOs()
val arch = hostArch()
return when (hostOs) {
"osx" -> {
if (arch == "aarch64") "macosArm64"
else "macosX64"
}
else -> hostOs
"osx" -> "macos-$arch"
else -> "$hostOs-$arch"
}
}