Update front.sh

This commit is contained in:
Søren Theilgaard
2022-01-18 20:30:39 +01:00
parent df40501291
commit 08435381a1

View File

@@ -1,7 +1,13 @@
front)
name="Front"
type="dmg"
downloadURL="https://dl.frontapp.com/macos/Front.dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL="https://dl.frontapp.com/macos/Front-arm64.dmg"
appNewVersion=$(curl -fs "https://dl.frontapp.com/desktop/updates/latest/mac-arm64/latest-mac.yml" | grep -i version | cut -d " " -f2)
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://dl.frontapp.com/macos/Front.dmg"
appNewVersion=$(curl -fs "https://dl.frontapp.com/desktop/updates/latest/mac/latest-mac.yml" | grep -i version | cut -d " " -f2)
fi
expectedTeamID="X549L7572J"
Company="FrontApp. Inc."
;;