Fix macOS M1 architecture not being correctly detected for lwjgl
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user