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 1/5] 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 From 9370b7a87ac88061e577357c44de27e5e1c6b518 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:32:00 +0200 Subject: [PATCH 2/5] Added 'pycharm' to Labels.txt Added label for PyCharm (Pro) to Labels.txt --- Labels.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Labels.txt b/Labels.txt index 86f161b..1cfcb03 100644 --- a/Labels.txt +++ b/Labels.txt @@ -176,6 +176,7 @@ prism9 privileges proctortrack promiseutilityr +pycharm pycharmce pymol r From c6f951a1f45e931b5a962405aebdc0904c625277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Mon, 12 Apr 2021 16:19:35 +0200 Subject: [PATCH 3/5] Changed name to jetbrainspycharm Quite some labels from jetbrains, so naming them with this. --- Installomator.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Installomator.sh b/Installomator.sh index 029df95..91c0c31 100755 --- a/Installomator.sh +++ b/Installomator.sh @@ -2647,17 +2647,18 @@ zulujdk15) # MARK: Add new labels after this line (let us sort them in the list) -pycharm) +jetbrainspycharm) # 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) + 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) + downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PCP&latest=true&type=release" | grep -o "macM1*.*.dmg" | cut -d '"' -f5) fi + appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PCP&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3) + expectedTeamID="2ZEFAR8TH3" ;; # MARK: add new labels above here From fa6ba7cc2cac53c1ceb9d5306deb7b8af2d3fd01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Mon, 12 Apr 2021 16:20:54 +0200 Subject: [PATCH 4/5] Update Labels.txt --- Labels.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Labels.txt b/Labels.txt index 1cfcb03..cf617fe 100644 --- a/Labels.txt +++ b/Labels.txt @@ -106,6 +106,8 @@ jamfreenroller jetbrainsintellijidea jetbrainsintellijideace jetbrainsphpstorm +jetbrainspycharm +jetbrainspycharmce karabinerelements keepassxc keka @@ -176,8 +178,6 @@ prism9 privileges proctortrack promiseutilityr -pycharm -pycharmce pymol r ramboxce From 7c6134e78143f31750947a8b323ad9517fa785e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Mon, 12 Apr 2021 16:22:50 +0200 Subject: [PATCH 5/5] Also renamed pycharmce to jetbrainspycharmce --- Installomator.sh | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/Installomator.sh b/Installomator.sh index 91c0c31..d210f1d 100755 --- a/Installomator.sh +++ b/Installomator.sh @@ -1611,6 +1611,27 @@ jetbrainsphpstorm) appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PS&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3) expectedTeamID="2ZEFAR8TH3" ;; +jetbrainspycharm) + # credit: Adrian Bühler (@midni9ht) + name="PyCharm" + 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 + 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 + appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PCP&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3) + expectedTeamID="2ZEFAR8TH3" + ;; +jetbrainspycharmce|\ +pycharmce) + name="PyCharm CE" + type="dmg" + downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=mac" + expectedTeamID="2ZEFAR8TH3" + #Company="JetBrains" + ;; karabinerelements) # credit: Tadayuki Onishi (@kenchan0130) name="Karabiner-Elements" @@ -2007,13 +2028,6 @@ promiseutilityr) expectedTeamID="268CCUR4WN" #Company="Promise" ;; -pycharmce) - name="PyCharm CE" - type="dmg" - downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=mac" - expectedTeamID="2ZEFAR8TH3" - #Company="JetBrains" - ;; pymol) name="PyMOL" type="dmg" @@ -2647,19 +2661,6 @@ zulujdk15) # MARK: Add new labels after this line (let us sort them in the list) -jetbrainspycharm) - # credit: Adrian Bühler (@midni9ht) - name="PyCharm" - 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 - 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 - appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PCP&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3) - expectedTeamID="2ZEFAR8TH3" - ;; # MARK: add new labels above here