Merge pull request #463 from adibue/adibue-update-rancherdesktop

Update 'rancherdesktop' to support arm64
This commit is contained in:
Armin Briegel
2022-05-12 11:08:11 +02:00
committed by GitHub

View File

@@ -1,8 +1,13 @@
rancherdesktop)
name="Rancher.Desktop-1.0.0-mac"
name="Rancher Desktop"
type="zip"
archiveName="Rancher.Desktop-[0-9.]*-mac.zip"
downloadURL="$(downloadURLFromGit rancher-sandbox rancher-desktop)"
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"