From 6c1cdec2fe253b68eb3136213a64114f8c780ce2 Mon Sep 17 00:00:00 2001 From: filesite Date: Tue, 25 Jun 2024 07:53:36 +0800 Subject: [PATCH] change docker dmg url --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 586e4ec..f9b4691 100755 --- a/install.sh +++ b/install.sh @@ -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 fi fi + echo "" echo "如果你已经安装完成,请按Y继续安装machete镜像" read -p "docker desktop已安装,继续?(Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1