mirror of
https://github.com/ij-plugins/ijp-imagej-launcher.git
synced 2024-11-13 16:29:01 -08:00
Support running on linux64
This commit is contained in:
parent
d2eb52639c
commit
15f2dd848d
1 changed files with 7 additions and 7 deletions
|
|
@ -135,13 +135,13 @@ class Launcher(logger: Logger):
|
|||
val notSupportedError = s"$osName $osArch not supported"
|
||||
|
||||
val r =
|
||||
if osName.toLowerCase.startsWith("windows") then
|
||||
if osArch.toLowerCase.contains("64") then
|
||||
Right("win64")
|
||||
else
|
||||
Left(notSupportedError)
|
||||
else if osName.toLowerCase.contains("mac os x") then
|
||||
Right("macosx")
|
||||
if osName.toLowerCase.contains("windows") then
|
||||
if osArch.toLowerCase.contains("64") then Right("win64")
|
||||
else Left(notSupportedError)
|
||||
else if osName.toLowerCase.contains("mac os x") then Right("macosx")
|
||||
else if osName.toLowerCase.contains("linux") then
|
||||
if osArch.toLowerCase.contains("64") then Right("linux64")
|
||||
else Left(notSupportedError)
|
||||
else
|
||||
Left(notSupportedError)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue