Add support for linux arm64 for #48

This commit is contained in:
David Dworken
2022-12-11 20:39:45 -08:00
parent 857e423e10
commit 7c86b812bf
6 changed files with 38 additions and 2 deletions

View File

@@ -817,6 +817,9 @@ func downloadFiles(updateInfo shared.UpdateInfo) error {
if runtime.GOOS == "linux" && runtime.GOARCH == "amd64" {
clientUrl = updateInfo.LinuxAmd64Url
clientProvenanceUrl = updateInfo.LinuxAmd64AttestationUrl
} else if runtime.GOOS == "linux" && runtime.GOARCH == "arm64" {
clientUrl = updateInfo.LinuxArm64Url
clientProvenanceUrl = updateInfo.LinuxArm64AttestationUrl
} else if runtime.GOOS == "darwin" && runtime.GOARCH == "amd64" {
clientUrl = updateInfo.DarwinAmd64Url
clientProvenanceUrl = updateInfo.DarwinAmd64AttestationUrl