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 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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue