瀏覽代碼

Fixes issue #1286

Stephen Gold 5 年之前
父節點
當前提交
b102eabb56
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      jme3-core/src/main/java/com/jme3/system/JmeSystemDelegate.java

+ 2 - 2
jme3-core/src/main/java/com/jme3/system/JmeSystemDelegate.java

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009-2019 jMonkeyEngine
+ * Copyright (c) 2009-2020 jMonkeyEngine
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without
  * Redistribution and use in source and binary forms, with or without
@@ -171,7 +171,7 @@ public abstract class JmeSystemDelegate {
             return is64 ? Platform.Windows64 : Platform.Windows32;
             return is64 ? Platform.Windows64 : Platform.Windows32;
         } else if (os.contains("linux") || os.contains("freebsd") 
         } else if (os.contains("linux") || os.contains("freebsd") 
                 || os.contains("sunos") || os.contains("unix")) {
                 || os.contains("sunos") || os.contains("unix")) {
-            if (arch.startsWith("arm")) {
+            if (arch.startsWith("arm") || arch.startsWith("aarch")) {
                 return is64 ? Platform.Linux_ARM64 : Platform.Linux_ARM32;
                 return is64 ? Platform.Linux_ARM64 : Platform.Linux_ARM32;
             } else {
             } else {
                 return is64 ? Platform.Linux64 : Platform.Linux32;
                 return is64 ? Platform.Linux64 : Platform.Linux32;