mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-15 22:05:19 +01:00
v0.5
docker label
This commit is contained in:
@@ -1257,7 +1257,12 @@ docker)
|
|||||||
# credit: @securitygeneration
|
# credit: @securitygeneration
|
||||||
name="Docker"
|
name="Docker"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL="https://download.docker.com/mac/stable/Docker.dmg" # downloadURL="https://desktop.docker.com/mac/stable/amd64/Docker.dmg"
|
#downloadURL="https://download.docker.com/mac/stable/Docker.dmg"
|
||||||
|
if [[ $(arch) == arm64 ]]; then
|
||||||
|
downloadURL="https://desktop.docker.com/mac/stable/arm64/Docker.dmg"
|
||||||
|
elif [[ $(arch) == i386 ]]; then
|
||||||
|
downloadURL="https://desktop.docker.com/mac/stable/amd64/Docker.dmg"
|
||||||
|
fi
|
||||||
appNewVersion=$(curl -ifs https://docs.docker.com/docker-for-mac/release-notes/ | grep ">Docker Desktop Community" | head -1 | sed -n -e 's/^.*Community //p' | cut -d '<' -f1)
|
appNewVersion=$(curl -ifs https://docs.docker.com/docker-for-mac/release-notes/ | grep ">Docker Desktop Community" | head -1 | sed -n -e 's/^.*Community //p' | cut -d '<' -f1)
|
||||||
expectedTeamID="9BNSXJN65R"
|
expectedTeamID="9BNSXJN65R"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user