Skip to content

Commit

Permalink
Merge pull request #20 from josecorella/main
Browse files Browse the repository at this point in the history
fix: add support for downloading arm64 macos image
  • Loading branch information
ssomayyajula authored Jul 15, 2024
2 parents bf5fd33 + 4ca29d7 commit 367c70f
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 367c70f

Please sign in to comment.