优化对 Linux MIPS64el 平台的支持 (#4886)
This commit is contained in:
@@ -249,7 +249,7 @@ public final class NativePatcher {
|
|||||||
|
|
||||||
if (minVersion != null) {
|
if (minVersion != null) {
|
||||||
if (gameVersion.compareTo(minVersion) >= 0) {
|
if (gameVersion.compareTo(minVersion) >= 0) {
|
||||||
if (maxVersion != null && gameVersion.compareTo(maxVersion) >= 0)
|
if (maxVersion != null && gameVersion.compareTo(maxVersion) > 0)
|
||||||
return SupportStatus.UNSUPPORTED;
|
return SupportStatus.UNSUPPORTED;
|
||||||
|
|
||||||
String[] defaultGameVersions = GameVersionNumber.getDefaultGameVersions();
|
String[] defaultGameVersions = GameVersionNumber.getDefaultGameVersions();
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ case "$(uname -m)" in
|
|||||||
_HMCL_ARCH="riscv64";;
|
_HMCL_ARCH="riscv64";;
|
||||||
loongarch64)
|
loongarch64)
|
||||||
_HMCL_ARCH="loongarch64";;
|
_HMCL_ARCH="loongarch64";;
|
||||||
|
mips64)
|
||||||
|
_HMCL_ARCH="mips64el";;
|
||||||
*)
|
*)
|
||||||
_HMCL_ARCH="unknown";;
|
_HMCL_ARCH="unknown";;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user