Add ability to pick version 1.13 (#14)
This commit is contained in:
1 parent
1bd5fced53
commit
635d44dda7
3 files changed
+7
-2
No files matched your search
+5
-2
@@ -13,12 +13,15 @@ fi
|
||||
set -e
|
||||
|
||||
case ${VERSION} in
|
||||
1.11|PREVIOUS)
|
||||
1.11)
|
||||
VERSION=1.11.4.2
|
||||
;;
|
||||
1.12)
|
||||
1.12|PREVIOUS)
|
||||
VERSION=1.12.0.28
|
||||
;;
|
||||
1.13)
|
||||
VERSION=1.13.0.34
|
||||
;;
|
||||
*)
|
||||
DOWNLOAD_URL=$(restify --attribute=data-platform=serverBedrockLinux https://www.minecraft.net/en-us/download/server/bedrock/ | jq -r '.[0].href')
|
||||
if [[ ${DOWNLOAD_URL} =~ http.*/.*-(.*)\.zip ]]; then
|
||||
|
||||
Reference in new issue
Block a user