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 14, 2024
1 parent bf5fd33 commit 4ca29d7
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 4ca29d7

Please sign in to comment.