Browse Source

docker desktop download url change

master
filesite-io 5 months ago
parent
commit
7efe51835b
  1. 6
      install.sh

6
install.sh

@ -30,10 +30,12 @@ getCpuType () { @@ -30,10 +30,12 @@ getCpuType () {
getDockerDesktopDownloadUrl () {
getCpuType
cup_type=$?
dmgLink="https://desktop.docker.com/mac/main/arm64/Docker.dmg"
#原网址:https://desktop.docker.com/mac/main/arm64/Docker.dmg
dmgLink="https://static.jialuoma.cn/docker_desktop/arm64.dmg"
if [ $cup_type -eq 1 ]; then
dmgLink="https://desktop.docker.com/mac/main/amd64/Docker.dmg"
#原网址:https://desktop.docker.com/mac/main/amd64/Docker.dmg
dmgLink="https://static.jialuoma.cn/docker_desktop/amd64.dmg"
fi
echo "${dmgLink}"

Loading…
Cancel
Save