mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Merge pull request #665 from niavlysAO/label-screamingfrogspider-dmg-per-arch
label screamingfrogspider.sh fix, dmg per arch
This commit is contained in:
@@ -1,7 +1,12 @@
|
|||||||
screamingfrogseospider)
|
screamingfrogseospider)
|
||||||
name="Screaming Frog SEO Spider"
|
name="Screaming Frog SEO Spider"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL=$(curl -fs "https://www.screamingfrog.co.uk/wp-content/themes/screamingfrog/inc/download-modal.php" | grep -i -o "https.*\.dmg" | head -1)
|
if [[ $(arch) == i386 ]]; then
|
||||||
|
platform="Mac - (intel)"
|
||||||
|
elif [[ $(arch) == arm64 ]]; then
|
||||||
|
platform="Mac - (apple silicon)"
|
||||||
|
fi
|
||||||
|
downloadURL=$(curl -fs "https://www.screamingfrog.co.uk/wp-content/themes/screamingfrog/inc/download-modal.php" | grep "${platform}" | grep -i -o "https.*\.dmg" | head -1)
|
||||||
appNewVersion=$(print "$downloadURL" | sed -E 's/https.*\/[a-zA-Z]*-([0-9.]*)\.dmg/\1/g')".0"
|
appNewVersion=$(print "$downloadURL" | sed -E 's/https.*\/[a-zA-Z]*-([0-9.]*)\.dmg/\1/g')".0"
|
||||||
expectedTeamID="CAHEVC3HZC"
|
expectedTeamID="CAHEVC3HZC"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user