mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 21:02:46 +00:00
Merge pull request #148 from midni9ht/midni9ht-pycharm-and-ce-urls
Added M1 URL for PyCharm CE. Changed PyCharm (Pro) URLs to direct links.
This commit is contained in:
@@ -1634,22 +1634,28 @@ jetbrainsphpstorm)
|
|||||||
;;
|
;;
|
||||||
jetbrainspycharm)
|
jetbrainspycharm)
|
||||||
# credit: Adrian Bühler (@midni9ht)
|
# credit: Adrian Bühler (@midni9ht)
|
||||||
|
# This is the Pro version of PyCharm.
|
||||||
|
# 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)
|
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=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PCP&latest=true&type=release" | grep -o "mac*.*.dmg" | cut -d '"' -f5)
|
downloadURL="https://download.jetbrains.com/product?code=PCP&latest&distribution=mac"
|
||||||
elif [[ $(arch) == arm64 ]]; then
|
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="https://download.jetbrains.com/product?code=PCP&latest&distribution=macM1"
|
||||||
fi
|
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"
|
expectedTeamID="2ZEFAR8TH3"
|
||||||
;;
|
;;
|
||||||
jetbrainspycharmce|\
|
jetbrainspycharmce|\
|
||||||
pycharmce)
|
pycharmce)
|
||||||
name="PyCharm CE"
|
name="PyCharm CE"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=mac"
|
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
|
||||||
|
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=mac"
|
||||||
|
elif [[ $(arch) == arm64 ]]; then
|
||||||
|
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=macM1"
|
||||||
|
fi
|
||||||
expectedTeamID="2ZEFAR8TH3"
|
expectedTeamID="2ZEFAR8TH3"
|
||||||
#Company="JetBrains"
|
#Company="JetBrains"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user