From 6cd002206b1bde5d000d84783e2c6c10639b270a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20B=C3=BChler?= <48823479+midni9ht@users.noreply.github.com> Date: Mon, 12 Apr 2021 09:31:03 +0200 Subject: [PATCH] Added 'pycharm' Added PyCharm (Pro) to Installomator. --- Installomator.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Installomator.sh b/Installomator.sh index 5b00bd4..029df95 100755 --- a/Installomator.sh +++ b/Installomator.sh @@ -2647,6 +2647,18 @@ zulujdk15) # MARK: Add new labels after this line (let us sort them in the list) +pycharm) + # credit: Adrian Bühler (@midni9ht) + name="PyCharm" + type="dmg" + expectedTeamID="2ZEFAR8TH3" + 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 + downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PCP&latest=true&type=release" | grep -o "mac*.*.dmg" | cut -d '"' -f5) + elif [[ $(arch) == arm64 ]]; then + downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PCP&latest=true&type=release" | grep -o "macM1*.*.dmg" | cut -d '"' -f5) + fi + ;; # MARK: add new labels above here