mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
13 lines
854 B
Bash
13 lines
854 B
Bash
loom)
|
|
# credit: Lance Stephens (@pythoninthegrass on MacAdmins Slack)
|
|
name="Loom"
|
|
type="dmg"
|
|
if [[ $(arch) == "arm64" ]]; then
|
|
downloadURL=https://cdn.loom.com/desktop-packages/$(curl -fs https://s3-us-west-2.amazonaws.com/loom.desktop.packages/loom-inc-production/desktop-packages/latest-mac.yml | awk '/url/ && /arm64/ && /dmg/ {print $3}' | head -1)
|
|
elif [[ $(arch) == "i386" ]]; then
|
|
downloadURL=https://cdn.loom.com/desktop-packages/$(curl -fs https://s3-us-west-2.amazonaws.com/loom.desktop.packages/loom-inc-production/desktop-packages/latest-mac.yml | awk '/url/ && /dmg/ {print $3}' | head -1)
|
|
fi
|
|
appNewVersion=$(curl -fs https://s3-us-west-2.amazonaws.com/loom.desktop.packages/loom-inc-production/desktop-packages/latest-mac.yml | awk '/version/ {print $2}' )
|
|
expectedTeamID="QGD2ZPXZZG"
|
|
;;
|