|
|
@ -1,5 +1,6 @@ |
|
|
|
package org.openrs2.patcher |
|
|
|
package org.openrs2.patcher |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.openrs2.patcher.Architecture.AARCH64 |
|
|
|
import org.openrs2.patcher.Architecture.AMD64 |
|
|
|
import org.openrs2.patcher.Architecture.AMD64 |
|
|
|
import org.openrs2.patcher.Architecture.I386 |
|
|
|
import org.openrs2.patcher.Architecture.I386 |
|
|
|
|
|
|
|
|
|
|
@ -10,7 +11,7 @@ public enum class OperatingSystem( |
|
|
|
) { |
|
|
|
) { |
|
|
|
// AMD64 must be before I386 as x86 is a substring of x86_64 |
|
|
|
// AMD64 must be before I386 as x86 is a substring of x86_64 |
|
|
|
WINDOWS("win", listOf(AMD64, I386), listOf("jaggl.dll")), |
|
|
|
WINDOWS("win", listOf(AMD64, I386), listOf("jaggl.dll")), |
|
|
|
MAC("mac", listOf(AMD64, I386), listOf("libjaggl.dylib")), |
|
|
|
MAC("mac", listOf(AARCH64, AMD64, I386), listOf("libjaggl.dylib")), |
|
|
|
LINUX("linux", listOf(AMD64, I386), listOf("libjaggl.so", "libjaggl_dri.so")); |
|
|
|
LINUX("linux", listOf(AMD64, I386), listOf("libjaggl.so", "libjaggl_dri.so")); |
|
|
|
|
|
|
|
|
|
|
|
public val id: String = name.toLowerCase() |
|
|
|
public val id: String = name.toLowerCase() |
|
|
|