优化对 Linux MIPS64el 平台的支持 (#4886)

This commit is contained in:
Glavo
2025-11-30 21:23:23 +08:00
committed by GitHub
parent 7325b36e8c
commit cda45db222
2 changed files with 3 additions and 1 deletions

View File

@@ -249,7 +249,7 @@ public final class NativePatcher {
if (minVersion != null) {
if (gameVersion.compareTo(minVersion) >= 0) {
if (maxVersion != null && gameVersion.compareTo(maxVersion) >= 0)
if (maxVersion != null && gameVersion.compareTo(maxVersion) > 0)
return SupportStatus.UNSUPPORTED;
String[] defaultGameVersions = GameVersionNumber.getDefaultGameVersions();

View File

@@ -37,6 +37,8 @@ case "$(uname -m)" in
_HMCL_ARCH="riscv64";;
loongarch64)
_HMCL_ARCH="loongarch64";;
mips64)
_HMCL_ARCH="mips64el";;
*)
_HMCL_ARCH="unknown";;
esac