Fix macOS M1 architecture not being correctly detected for lwjgl

This commit is contained in:
vechro
2022-10-08 09:36:38 +03:00
committed by Edwin Jakobs
parent 905c5f8b9d
commit a42a2bd9a3

View File

@@ -219,7 +219,7 @@ class Openrndr {
} else when (OperatingSystem.current()) { } else when (OperatingSystem.current()) {
OperatingSystem.WINDOWS -> "windows" OperatingSystem.WINDOWS -> "windows"
OperatingSystem.MAC_OS -> when (val h = DefaultNativePlatform("current").architecture.name) { OperatingSystem.MAC_OS -> when (val h = DefaultNativePlatform("current").architecture.name) {
"arm-v8" -> "macos-arm64" "aarch64", "arm-v8" -> "macos-arm64"
else -> "macos" else -> "macos"
} }
OperatingSystem.LINUX -> when (val h = DefaultNativePlatform("current").architecture.name) { OperatingSystem.LINUX -> when (val h = DefaultNativePlatform("current").architecture.name) {