Skip to content

Commit

Permalink
fix: add support for downloading arm64 macos image
Browse files Browse the repository at this point in the history
  • Loading branch information
josecorella committed Jul 12, 2024
1 parent f2a6243 commit 90ce50c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ async function dafnyURLAndFullVersion(version, distribution) {
fullVersion = version;
}
const root = "https://github.com/dafny-lang/dafny/releases/download";
// using the same approach as the dafny-lang/ide-vscode
const url = `${root}/${versionPath}/dafny-${
version == "2.3.0" ? "2.3.0.10506" : version
}-x64-${distribution}.zip`;
}-${os.arch()}-${distribution}.zip`;
return { url, fullVersion };
}

Expand Down

0 comments on commit 90ce50c

Please sign in to comment.