mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
zeplin
This commit is contained in:
@@ -316,6 +316,7 @@ xink
|
|||||||
xquartz
|
xquartz
|
||||||
yubikeymanagerqt
|
yubikeymanagerqt
|
||||||
zappy
|
zappy
|
||||||
|
zeplin
|
||||||
zohoworkdrive
|
zohoworkdrive
|
||||||
zoom
|
zoom
|
||||||
zoomclient
|
zoomclient
|
||||||
|
|||||||
7
fragments/labels/zeplin.sh
Normal file
7
fragments/labels/zeplin.sh
Normal 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"
|
||||||
|
;;
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user