diff --git a/install b/install index 19c6d01..3aa29d4 100755 --- a/install +++ b/install @@ -185,6 +185,14 @@ release_candidates() { echo "${APP}-${triple}|binary" echo "${APP}-${triple}.tar.gz|archive" echo "${APP}-${os}-${arch}.tar.gz|archive" + + # v0.5.0 published only x86_64 macOS assets. On Apple Silicon, try Rosetta- + # compatible fallback names so `curl ... | bash` still works. + if [[ "$os" == "darwin" && "$arch" == "arm64" ]]; then + echo "${APP}-x86_64-apple-darwin|binary" + echo "${APP}-x86_64-apple-darwin.tar.gz|archive" + echo "${APP}-darwin-x64.tar.gz|archive" + fi } latest_version_from_github() {