Support running on linux64

This commit is contained in:
Jarek Sacha 2023-06-01 21:41:55 -04:00
parent d2eb52639c
commit 15f2dd848d
No known key found for this signature in database
GPG key ID: F29625CE62288163

View file

@ -135,13 +135,13 @@ class Launcher(logger: Logger):
val notSupportedError = s"$osName $osArch not supported" val notSupportedError = s"$osName $osArch not supported"
val r = val r =
if osName.toLowerCase.startsWith("windows") then if osName.toLowerCase.contains("windows") then
if osArch.toLowerCase.contains("64") then if osArch.toLowerCase.contains("64") then Right("win64")
Right("win64") else Left(notSupportedError)
else else if osName.toLowerCase.contains("mac os x") then Right("macosx")
Left(notSupportedError) else if osName.toLowerCase.contains("linux") then
else if osName.toLowerCase.contains("mac os x") then if osArch.toLowerCase.contains("64") then Right("linux64")
Right("macosx") else Left(notSupportedError)
else else
Left(notSupportedError) Left(notSupportedError)