修改重装

This commit is contained in:
lsy 2024-09-23 16:24:45 +08:00
parent fd471b7941
commit debee99f00

View File

@ -41,9 +41,9 @@ if [[ $pick =~ [1-"${#imags_dick[@]}"\ ] ]];then
done
read -p "请输入:" pick
if [ -z $pick ]; then
version=$version_arr[$version_number]
version=${version_arr[$version_number]}
elif [[ $pick =~ [1-$version_number] ]];then
version=$version_arr[$pick]
version=${version_arr[$pick]}
fi
echo "bash <(curl -Ls ${server}) ${img} ${version}"
fi