|
|
|
@ -74,11 +74,11 @@ getDockerDesktopDownloadUrl () {
@@ -74,11 +74,11 @@ getDockerDesktopDownloadUrl () {
|
|
|
|
|
cup_type=$? |
|
|
|
|
|
|
|
|
|
dmgLink_docker="https://desktop.docker.com/mac/main/arm64/Docker.dmg" |
|
|
|
|
dmgLink="https://static.jialuoma.cn/docker_desktop/arm64.dmg" |
|
|
|
|
dmgLink="https://static.jialuoma.cn/docker_desktop/docker_arm64.dmg" |
|
|
|
|
|
|
|
|
|
if [ $cup_type -eq 1 ]; then |
|
|
|
|
dmgLink_docker="https://desktop.docker.com/mac/main/amd64/Docker.dmg" |
|
|
|
|
dmgLink="https://static.jialuoma.cn/docker_desktop/amd64.dmg" |
|
|
|
|
dmgLink="https://static.jialuoma.cn/docker_desktop/docker_amd64.dmg" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
connect_res=$1 |
|
|
|
@ -129,6 +129,7 @@ if [ $docker_installed -eq 0 ]; then
@@ -129,6 +129,7 @@ if [ $docker_installed -eq 0 ]; then
|
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo "" |
|
|
|
|
echo "如果你已经安装完成,请按Y继续安装machete镜像" |
|
|
|
|
read -p "docker desktop已安装,继续?(Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1 |
|
|
|
|
|
|
|
|
|