mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-27 21:04:02 +00:00
screamingfrogseospider
Fixed downloadURL, added appNewVersion
This commit is contained in:
@@ -4,11 +4,11 @@ googlechrome)
|
|||||||
if [[ $(arch) != "i386" ]]; then
|
if [[ $(arch) != "i386" ]]; then
|
||||||
printlog "Architecture: arm64 (not i386)"
|
printlog "Architecture: arm64 (not i386)"
|
||||||
downloadURL="https://dl.google.com/chrome/mac/universal/stable/GGRO/googlechrome.dmg"
|
downloadURL="https://dl.google.com/chrome/mac/universal/stable/GGRO/googlechrome.dmg"
|
||||||
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac_arm64,stable/{print $3; exit}') # Credit: William Smith (@meck)
|
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac_arm64,stable/{print $3; exit}')
|
||||||
else
|
else
|
||||||
printlog "Architecture: i386"
|
printlog "Architecture: i386"
|
||||||
downloadURL="https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
|
downloadURL="https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
|
||||||
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac,stable/{print $3; exit}') # Credit: William Smith (@meck)
|
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac,stable/{print $3; exit}')
|
||||||
fi
|
fi
|
||||||
expectedTeamID="EQHXZ8M8AV"
|
expectedTeamID="EQHXZ8M8AV"
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
screamingfrogseospider)
|
screamingfrogseospider)
|
||||||
name="Screaming Frog SEO Spider"
|
name="Screaming Frog SEO Spider"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL="https://download.screamingfrog.co.uk/products/seo-spider/ScreamingFrogSEOSpider-14.3.dmg"
|
downloadURL=$(curl -fs "https://www.screamingfrog.co.uk/wp-content/themes/screamingfrog/inc/download-modal.php" | grep -i -o "https.*\.dmg" | head -1)
|
||||||
|
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