mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
update label postman, closes #458
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
postman)
|
||||
# credit: Mischa van der Bent
|
||||
name="Postman"
|
||||
type="zip"
|
||||
downloadURL="https://dl.pstmn.io/download/latest/osx"
|
||||
appNewVersion=$(curl -Ifs https://dl.pstmn.io/download/latest/osx | grep "content-disposition:" | sed -n -e 's/^.*Postman-osx-//p' | sed 's/\.zip//' | sed $'s/[^[:print:]\t]//g' )
|
||||
if [[ $(arch) == "arm64" ]]; then
|
||||
downloadURL="https://dl.pstmn.io/download/latest/osx_arm64"
|
||||
appNewVersion=$(curl -fsL --head "${downloadURL}" | grep "content-disposition:" | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')
|
||||
elif [[ $(arch) == "i386" ]]; then
|
||||
downloadURL="https://dl.pstmn.io/download/latest/osx_64"
|
||||
appNewVersion=$(curl -fsL --head "${downloadURL}" | grep "content-disposition:" | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')
|
||||
fi
|
||||
expectedTeamID="H7H8Q7M5CK"
|
||||
;;
|
||||
;;
|
||||
Reference in New Issue
Block a user