Skip to content

Commit

Permalink
added download option for version 1.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
simylein committed Sep 12, 2021
1 parent 4b30d1b commit f7bc082
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,13 @@ function FetchServerFileFromMojan {

# download java executable from mojang.com
PS3="Which server version would you like to install? "
versions=("1.16.5" "1.16.4" "1.16.3" "1.16.2" "1.16.1")
versions=("1.17.1" "1.16.5" "1.16.4" "1.16.3")
select version in "${versions[@]}"; do
case ${version} in
"1.17.1")
FetchServerFileFromMojan "a16d67e5807f57fc4e550299cf20226194497dc2"
break
;;
"1.16.5")
FetchServerFileFromMojan "1b557e7b033b583cd9f66746b7a9ab1ec1673ced"
break
Expand All @@ -248,14 +252,6 @@ select version in "${versions[@]}"; do
FetchServerFileFromMojan "f02f4473dbf152c23d7d484952121db0b36698cb"
break
;;
"1.16.2")
FetchServerFileFromMojan "c5f6fb23c3876461d46ec380421e42b289789530"
break
;;
"1.16.1")
FetchServerFileFromMojan "a412fd69db1f81db3f511c1463fd304675244077"
break
;;
*) echo "Please choose an option from the list: ";;
esac
done
Expand Down

0 comments on commit f7bc082

Please sign in to comment.