|
|
@ -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}" |
|
|
|