mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-28 13:23:06 +00:00
@@ -1,13 +0,0 @@
|
|||||||
androidstudio)
|
|
||||||
name="Android Studio"
|
|
||||||
type="dmg"
|
|
||||||
if [[ $(arch) == arm64 ]]; then
|
|
||||||
downloadURL=$(curl -fsL "https://developer.android.com/studio#downloads" | grep -i arm.dmg | head -2 | grep -o -i -E "https.*" | cut -d '"' -f1)
|
|
||||||
appNewVersion=$( echo "${downloadURL}" | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*$/\1/' )
|
|
||||||
elif [[ $(arch) == i386 ]]; then
|
|
||||||
downloadURL=$(curl -fsL "https://developer.android.com/studio#downloads" | grep -i mac.dmg | head -2 | grep -o -i -E "https.*" | cut -d '"' -f1)
|
|
||||||
appNewVersion=$( echo "${downloadURL}" | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*$/\1/' )
|
|
||||||
fi
|
|
||||||
expectedTeamID="EQHXZ8M8AV"
|
|
||||||
blockingProcesses=( androidstudio )
|
|
||||||
;;
|
|
||||||
Reference in New Issue
Block a user