mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-05 14:23:07 +01:00
RStudio with a matching appNewVersion
This commit is contained in:
@@ -2,6 +2,6 @@ rstudio)
|
|||||||
name="RStudio"
|
name="RStudio"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL=$(curl -s -L "https://rstudio.com/products/rstudio/download/" | grep -m 1 -Eio 'href="https://download1.rstudio.org/desktop/macos/RStudio-(.*).dmg"' | cut -c7- | sed -e 's/"$//')
|
downloadURL=$(curl -s -L "https://rstudio.com/products/rstudio/download/" | grep -m 1 -Eio 'href="https://download1.rstudio.org/desktop/macos/RStudio-(.*).dmg"' | cut -c7- | sed -e 's/"$//')
|
||||||
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g' )
|
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*-([0-9.-]*)\..*/\1/g' | sed 's/-/+/' )
|
||||||
expectedTeamID="FYF2F5GFX4"
|
expectedTeamID="FYF2F5GFX4"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user