Files
Installomator/fragments/labels/rancherdesktop.sh
Adrian Bühler a27ca5a5d3 Update 'rancherdesktop' to support arm64
The `archiveName` was no longer valid. Added support for i386 and arm64. Also made `name` look more beautiful :-)
2022-04-01 16:36:18 +02:00

15 lines
552 B
Bash

rancherdesktop)
name="Rancher Desktop"
type="zip"
if [[ $(arch) == "arm64" ]]; then
archiveName="Rancher.Desktop-[0-9.]*-mac.aarch64.zip"
downloadURL="$(downloadURLFromGit rancher-sandbox rancher-desktop)"
elif [[ $(arch) == "i386" ]]; then
archiveName="Rancher.Desktop-[0-9.]*-mac.x86_64.zip"
downloadURL="$(downloadURLFromGit rancher-sandbox rancher-desktop)"
fi
appNewVersion="$(versionFromGit rancher-sandbox rancher-desktop)"
expectedTeamID="2Q6FHJR3H3"
appName="Rancher Desktop.app"
;;