mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-06 06:13:14 +01:00
Changed name to jetbrainspycharm
Quite some labels from jetbrains, so naming them with this.
This commit is contained in:
@@ -2647,17 +2647,18 @@ zulujdk15)
|
|||||||
|
|
||||||
# MARK: Add new labels after this line (let us sort them in the list)
|
# MARK: Add new labels after this line (let us sort them in the list)
|
||||||
|
|
||||||
pycharm)
|
jetbrainspycharm)
|
||||||
# credit: Adrian Bühler (@midni9ht)
|
# credit: Adrian Bühler (@midni9ht)
|
||||||
name="PyCharm"
|
name="PyCharm"
|
||||||
type="dmg"
|
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)
|
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=$(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
|
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
|
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
|
# MARK: add new labels above here
|
||||||
|
|||||||
Reference in New Issue
Block a user