From da1f782f1c6fc8f6ec706646bb50aa952fe306b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melih=20Akda=C4=9F?= <64847158+MelihAkdag@users.noreply.github.com> Date: Sun, 1 Oct 2023 10:20:39 +0300 Subject: [PATCH] Update OsInfo.java Edited to run Neptus GUI on an Ubuntu VM hosted on a Mac OS with M1 chipset. --- src/java/pt/lsts/neptus/platform/OsInfo.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/pt/lsts/neptus/platform/OsInfo.java b/src/java/pt/lsts/neptus/platform/OsInfo.java index db6d5bf125..8952a54c6d 100644 --- a/src/java/pt/lsts/neptus/platform/OsInfo.java +++ b/src/java/pt/lsts/neptus/platform/OsInfo.java @@ -241,6 +241,10 @@ else if (osArch.startsWith("arm")) { arch = Architecture.ARM; dataModel = DataModel.B32; } + else if (osArch.contains("aarch64")) { + arch = Architecture.ARM; + dataModel = DataModel.B64; + } else { throw new RuntimeException("Unknown architecture"); }