Skip to content

Commit

Permalink
Recognize riscv64 as a 64-bit platform (PrismLauncher#3425)
Browse files Browse the repository at this point in the history
  • Loading branch information
Trial97 authored Feb 17, 2025
2 parents d472b96 + 8f1750d commit 50ab1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launcher/java/JavaChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void JavaChecker::finished(int exitcode, QProcess::ExitStatus status)
auto os_arch = results["os.arch"];
auto java_version = results["java.version"];
auto java_vendor = results["java.vendor"];
bool is_64 = os_arch == "x86_64" || os_arch == "amd64" || os_arch == "aarch64" || os_arch == "arm64";
bool is_64 = os_arch == "x86_64" || os_arch == "amd64" || os_arch == "aarch64" || os_arch == "arm64" || os_arch == "riscv64";

result.validity = Result::Validity::Valid;
result.is_64bit = is_64;
Expand Down

0 comments on commit 50ab1b2

Please sign in to comment.