Skip to content

Commit

Permalink
Fix RISCV download
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Nov 3, 2023
1 parent 13dd02e commit 5065e86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qz/build/jlink/Url.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ public String format(Arch arch, Platform platform, String gcEngine, Version java
switch(arch) {
// TODO: Remove when RISCV is offered as stable
case RISCV64:
applyBetaPattern();
pattern.applyBetaPattern();
urlJavaVersion = urlJavaVersion.replace(".", "-").replace("_", "-");
default:
// Do nothing
}
Expand Down
2 changes: 2 additions & 0 deletions src/qz/build/jlink/Vendor.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public String getUrlArch(Arch arch) {
case BELLSOFT:
return "amd64";
}
case RISCV64:
return "riscv64";
default:
return "x64";
}
Expand Down

0 comments on commit 5065e86

Please sign in to comment.