Also renamed pycharmce to jetbrainspycharmce

This commit is contained in:
Søren Theilgaard
2021-04-12 16:22:50 +02:00
committed by GitHub
parent fa6ba7cc2c
commit 7c6134e781

View File

@@ -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