This commit is contained in:
Søren Theilgaard
2021-09-17 21:11:07 +02:00
parent 498a8a28af
commit 63af53fb34
3 changed files with 9 additions and 1 deletions

View File

@@ -316,6 +316,7 @@ xink
xquartz xquartz
yubikeymanagerqt yubikeymanagerqt
zappy zappy
zeplin
zohoworkdrive zohoworkdrive
zoom zoom
zoomclient zoomclient

View File

@@ -0,0 +1,7 @@
zeplin)
name="Zeplin"
type="zip"
downloadURL="https://zpl.io/download-mac"
appNewVersion="$(curl -fs "https://api.appcenter.ms/v0.1/public/sparkle/apps/8926efff-e734-b6d3-03d0-9f41d90c34fc" | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | cut -d '"' -f 2)"
expectedTeamID="8U3Y4X5WDQ"
;;

View File

@@ -171,7 +171,7 @@ for label in $allLabels; do
else else
URLextension=$( echo "${URLfilename}" | tail -1 | sed -E 's/.*\.([a-zA-Z]*)\s*/\1/g' | tr -d '\r\n' ) URLextension=$( echo "${URLfilename}" | tail -1 | sed -E 's/.*\.([a-zA-Z]*)\s*/\1/g' | tr -d '\r\n' )
fi fi
URLextension=${URLextension:l} URLextension=${${URLextension:l}%%\?*}
if [[ "${URLextension}" == "${expectedExtension}" ]]; then if [[ "${URLextension}" == "${expectedExtension}" ]]; then
echo "${GREEN}OK: download extension MATCH on ${URLextension}${NC}" echo "${GREEN}OK: download extension MATCH on ${URLextension}${NC}"
else else