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 () {
getDockerDesktopDownloadUrl () { getDockerDesktopDownloadUrl () {
getCpuType getCpuType
cup_type=$? 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 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 fi
echo "${dmgLink}" echo "${dmgLink}"

Loading…
Cancel
Save