update Mac launcher to require at least SE 8
parent
536bebafe9
commit
8f1c8a3cb3
|
@ -6,10 +6,10 @@
|
||||||
APPNAME="Magarena"
|
APPNAME="Magarena"
|
||||||
|
|
||||||
# java version check
|
# java version check
|
||||||
REQUIRED_VERSION=[7-9].[0-9]
|
REQUIRED_VERSION=[8-9].[0-9]
|
||||||
|
|
||||||
VERSION_TITLE="Cannot launch $APPNAME"
|
VERSION_TITLE="Cannot launch $APPNAME"
|
||||||
VERSION_MSG="$APPNAME requires the Java SE 7 JDK or later."
|
VERSION_MSG="$APPNAME requires the Java SE 8 JDK or later."
|
||||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
|
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
|
||||||
|
|
||||||
JAVA_VERSION="$(java -version 2>&1 | grep $REQUIRED_VERSION)"
|
JAVA_VERSION="$(java -version 2>&1 | grep $REQUIRED_VERSION)"
|
||||||
|
|
Loading…
Reference in New Issue