mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-02 14:23:08 +01:00
label githubdesktop
Now for arm and intel versions
This commit is contained in:
@@ -1522,7 +1522,11 @@ gimp)
|
|||||||
githubdesktop)
|
githubdesktop)
|
||||||
name="GitHub Desktop"
|
name="GitHub Desktop"
|
||||||
type="zip"
|
type="zip"
|
||||||
downloadURL="https://central.github.com/deployments/desktop/desktop/latest/darwin"
|
if [[ $(arch) == "arm64" ]]; then
|
||||||
|
downloadURL="https://central.github.com/deployments/desktop/desktop/latest/darwin-arm64"
|
||||||
|
elif [[ $(arch) == "i386" ]]; then
|
||||||
|
downloadURL="https://central.github.com/deployments/desktop/desktop/latest/darwin"
|
||||||
|
fi
|
||||||
appNewVersion=$(curl -fsL https://central.github.com/deployments/desktop/desktop/changelog.json | awk -F '{' '/"version"/ { print $2 }' | sed -E 's/.*,\"version\":\"([0-9.]*)\".*/\1/g')
|
appNewVersion=$(curl -fsL https://central.github.com/deployments/desktop/desktop/changelog.json | awk -F '{' '/"version"/ { print $2 }' | sed -E 's/.*,\"version\":\"([0-9.]*)\".*/\1/g')
|
||||||
expectedTeamID="VEKTX9H2N7"
|
expectedTeamID="VEKTX9H2N7"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user