Commit b8bd1e13 authored by Adrian Bühler's avatar Adrian Bühler
Browse files

Update rancherdesktop

Updated `rancherdesktop` to distinguish between i386 and arm64.
parent ec0b31c0
......@@ -3802,8 +3802,13 @@ ramboxce)
rancherdesktop)
name="Rancher.Desktop-1.0.0-mac"
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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment