Remove unnecessary architecture enum in plugin
This commit is contained in:
parent
9b8cc006ba
commit
b76bdfcb22
@ -7,18 +7,6 @@ val operatingSystem: OS = when {
|
||||
else -> OS.OTHER
|
||||
}
|
||||
|
||||
val architecture: Arch = when (System.getProperty("os.arch")) {
|
||||
"x86_64" -> Arch.X86_64
|
||||
"aarch64" -> Arch.AARCH64
|
||||
else -> Arch.OTHER
|
||||
}
|
||||
|
||||
enum class Arch {
|
||||
AARCH64,
|
||||
X86_64,
|
||||
OTHER,
|
||||
}
|
||||
|
||||
enum class OS {
|
||||
MAC,
|
||||
LINUX,
|
||||
|
Loading…
x
Reference in New Issue
Block a user