Skip to content

Commit

Permalink
Use coursier.jar in Windows arm64.
Browse files Browse the repository at this point in the history
  • Loading branch information
robby-phd committed Feb 6, 2025
1 parent 6a969f9 commit 5524918
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/jvm/src/main/scala/org/sireum/Coursier.scala
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ object Coursier {
updateProxyOption("https.proxyPassword", proxy.protocolPasswordEnvKeyOpt, T)
updateProxyOption("http.nonProxyHosts", proxy.nonHostsOpt, F)
val csPrefix: ISZ[String] = Os.kind match {
case Os.Kind.Win =>
case Os.Kind.Win if !Os.isWinArm =>
val coursierExe = sireumHome / "bin" / "win" / "cs.exe"
coursierExe.string +: proxyOptions
case Os.Kind.Linux =>
Expand Down
2 changes: 1 addition & 1 deletion library/jvm/src/main/scala/org/sireum/Init.scala
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ import Init._
}

kind match {
case Os.Kind.Win =>
case Os.Kind.Win if !Os.isWinArm =>
val drop = cache / s"cs-$coursierVersion-x86_64-pc-win32.zip"
if (!drop.exists) {
println(s"Downloading Coursier $coursierVersion ...")
Expand Down

0 comments on commit 5524918

Please sign in to comment.