Skip to content

Commit 367c70f

Browse files
author
Siva Somayyajula
authored
Merge pull request #20 from josecorella/main
fix: add support for downloading arm64 macos image
2 parents bf5fd33 + 4ca29d7 commit 367c70f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@ async function dafnyURLAndFullVersion(version, distribution) {
6262
fullVersion = version;
6363
}
6464
const root = "https://github.com/dafny-lang/dafny/releases/download";
65+
// using the same approach as the dafny-lang/ide-vscode
6566
const url = `${root}/${versionPath}/dafny-${
6667
version == "2.3.0" ? "2.3.0.10506" : version
67-
}-x64-${distribution}.zip`;
68+
}-${os.arch()}-${distribution}.zip`;
6869
return { url, fullVersion };
6970
}
7071

0 commit comments

Comments
 (0)