Files
Installomator/fragments/labels/microsoftvisualstudiocode.sh
2021-08-16 16:55:28 +02:00

12 lines
541 B
Bash

microsoftvisualstudiocode|\
visualstudiocode)
name="Visual Studio Code"
type="zip"
#downloadURL="https://go.microsoft.com/fwlink/?LinkID=620882" # Intel only
downloadURL="https://go.microsoft.com/fwlink/?LinkID=2156837" # Universal
appNewVersion=$(curl -fsL "https://code.visualstudio.com/Updates" | grep "/darwin" | grep -oiE ".com/([^>]+)([^<]+)/darwin" | cut -d "/" -f 2 | sed $'s/[^[:print:] ]//g' | head -1 )
expectedTeamID="UBF8T346G9"
appName="Visual Studio Code.app"
blockingProcesses=( Code )
;;