mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-10 14:23:10 +01:00
more label syncs
This commit is contained in:
@@ -1,12 +1,11 @@
|
|||||||
jetbrainsdatagrip)
|
jetbrainsdatagrip)
|
||||||
# credit: AP Orlebeke (@apizz)
|
name="DataGrip"
|
||||||
name="DataGrip"
|
type="dmg"
|
||||||
type="dmg"
|
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
|
||||||
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
|
if [[ $(arch) == "arm64" ]]; then
|
||||||
if [[ $(arch) == "arm64" ]]; then
|
downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'macM1*.*,' | cut -d '"' -f5)
|
||||||
downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'macM1*.*,' | cut -d '"' -f5)
|
elif [[ $(arch) == "i386" ]]; then
|
||||||
elif [[ $(arch) == "i386" ]]; then
|
downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'mac*.*,' | cut -d '"' -f5)
|
||||||
downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'mac*.*,' | cut -d '"' -f5)
|
fi
|
||||||
fi
|
expectedTeamID="2ZEFAR8TH3"
|
||||||
expectedTeamID="2ZEFAR8TH3"
|
;;
|
||||||
;;
|
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
jetbrainsintellijidea)
|
jetbrainsintellijidea)
|
||||||
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
|
|
||||||
name="IntelliJ IDEA"
|
name="IntelliJ IDEA"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL="https://download.jetbrains.com/product?code=II&latest&distribution=mac"
|
downloadURL="https://download.jetbrains.com/product?code=II&latest&distribution=mac"
|
||||||
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=II&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
|
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "location" | tail -1 | sed -E 's/.*\/[a-zA-Z-]*-([0-9.]*).*[-.].*dmg/\1/g' )
|
||||||
expectedTeamID="2ZEFAR8TH3"
|
expectedTeamID="2ZEFAR8TH3"
|
||||||
;;
|
;;
|
||||||
@@ -3,6 +3,6 @@ intellijideace)
|
|||||||
name="IntelliJ IDEA CE"
|
name="IntelliJ IDEA CE"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL="https://download.jetbrains.com/product?code=IIC&latest&distribution=mac"
|
downloadURL="https://download.jetbrains.com/product?code=IIC&latest&distribution=mac"
|
||||||
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=IIC&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
|
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "location" | tail -1 | sed -E 's/.*\/[a-zA-Z-]*-([0-9.]*).*[-.].*dmg/\1/g' )
|
||||||
expectedTeamID="2ZEFAR8TH3"
|
expectedTeamID="2ZEFAR8TH3"
|
||||||
;;
|
;;
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
jetbrainsphpstorm)
|
jetbrainsphpstorm)
|
||||||
# credit: Casey Jensen (@cajenson01 on MacAdmins Slack)Appended by Skylar Damiano @catdad on MacAdmins Slack
|
name="PHPStorm"
|
||||||
name="JetBrains PHPStorm"
|
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PS&latest=true&type=release" | grep -o "mac*.*.dmg" | cut -d '"' -f5)
|
downloadURL="https://download.jetbrains.com/product?code=PS&latest&distribution=mac"
|
||||||
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PS&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
|
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "location" | tail -1 | sed -E 's/.*\/[a-zA-Z-]*-([0-9.]*).*[-.].*dmg/\1/g' )
|
||||||
expectedTeamID="2ZEFAR8TH3"
|
expectedTeamID="2ZEFAR8TH3"
|
||||||
;;
|
;;
|
||||||
@@ -1,13 +1,12 @@
|
|||||||
jetbrainspycharm)
|
jetbrainspycharm)
|
||||||
# This is the Pro version of PyCharm.
|
# This is the Pro version of PyCharm. Do not confuse with PyCharm CE.
|
||||||
# Do not confuse with PyCharm CE.
|
|
||||||
name="PyCharm"
|
name="PyCharm"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PCP&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
|
|
||||||
if [[ $(arch) == i386 ]]; then
|
if [[ $(arch) == i386 ]]; then
|
||||||
downloadURL="https://download.jetbrains.com/product?code=PCP&latest&distribution=mac"
|
downloadURL="https://download.jetbrains.com/product?code=PCP&latest&distribution=mac"
|
||||||
elif [[ $(arch) == arm64 ]]; then
|
elif [[ $(arch) == arm64 ]]; then
|
||||||
downloadURL="https://download.jetbrains.com/product?code=PCP&latest&distribution=macM1"
|
downloadURL="https://download.jetbrains.com/product?code=PCP&latest&distribution=macM1"
|
||||||
fi
|
fi
|
||||||
|
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "location" | tail -1 | sed -E 's/.*\/[a-zA-Z-]*-([0-9.]*).*[-.].*dmg/\1/g' )
|
||||||
expectedTeamID="2ZEFAR8TH3"
|
expectedTeamID="2ZEFAR8TH3"
|
||||||
;;
|
;;
|
||||||
@@ -2,11 +2,11 @@ jetbrainspycharmce|\
|
|||||||
pycharmce)
|
pycharmce)
|
||||||
name="PyCharm CE"
|
name="PyCharm CE"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PCC&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
|
|
||||||
if [[ $(arch) == i386 ]]; then
|
if [[ $(arch) == i386 ]]; then
|
||||||
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=mac"
|
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=mac"
|
||||||
elif [[ $(arch) == arm64 ]]; then
|
elif [[ $(arch) == arm64 ]]; then
|
||||||
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=macM1"
|
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=macM1"
|
||||||
fi
|
fi
|
||||||
|
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "location" | tail -1 | sed -E 's/.*\/[a-zA-Z-]*-([0-9.]*).*[-.].*dmg/\1/g' )
|
||||||
expectedTeamID="2ZEFAR8TH3"
|
expectedTeamID="2ZEFAR8TH3"
|
||||||
;;
|
;;
|
||||||
@@ -3,13 +3,11 @@ microsoftteams)
|
|||||||
type="pkg"
|
type="pkg"
|
||||||
packageID="com.microsoft.teams"
|
packageID="com.microsoft.teams"
|
||||||
downloadURL="https://go.microsoft.com/fwlink/?linkid=869428"
|
downloadURL="https://go.microsoft.com/fwlink/?linkid=869428"
|
||||||
#appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.teams.standalone"]/version' 2>/dev/null | sed -E 's/<version>([0-9.]*) .*/\1/')
|
|
||||||
# Still using macadmin.software for version, as the path does not contain the version in a matching format. packageID can be used, but version is the same.
|
|
||||||
appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.teams.standalone"]/version' 2>/dev/null | sed -E 's/<version>([0-9.]*) .*/\1/')
|
appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.teams.standalone"]/version' 2>/dev/null | sed -E 's/<version>([0-9.]*) .*/\1/')
|
||||||
# Looks like macadmin.software has package ID version. At least on 2021-05-28 version 1.00.411161 is matched on installed version and homepage.
|
# Looks like macadmin.software has package ID version. At least on 202105-28 version 1.00.411161 is matched on installed version and homepage.
|
||||||
expectedTeamID="UBF8T346G9"
|
expectedTeamID="UBF8T346G9"
|
||||||
blockingProcesses=( Teams "Microsoft Teams Helper" )
|
blockingProcesses=( Teams "Microsoft Teams Helper" )
|
||||||
# Commenting out msupdate as it is not really supported *yet* for teams
|
# Commenting out msupdate as it is not really supported *yet* for teams
|
||||||
# updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
|
# updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
|
||||||
# updateToolArguments=( --install --apps TEAM01 )
|
# updateToolArguments=( --install --apps TEAM01 )
|
||||||
;;
|
;;
|
||||||
Reference in New Issue
Block a user