From daf78616773955eed5732264de09968f8a1de941 Mon Sep 17 00:00:00 2001 From: Tue Ton <49886739+chirontt@users.noreply.github.com> Date: Sun, 24 May 2026 18:57:19 -0400 Subject: [PATCH] add loading of jwm_arm64.dll for Windows Arm64 --- shared/java/impl/Library.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared/java/impl/Library.java b/shared/java/impl/Library.java index 7104fc59..2531f2e6 100644 --- a/shared/java/impl/Library.java +++ b/shared/java/impl/Library.java @@ -41,7 +41,8 @@ public static synchronized void load() { File library = _extract("/", file, tempDir); System.load(library.getAbsolutePath()); } else if (Platform.CURRENT == Platform.WINDOWS) { - File library = _extract("/", "jwm_x64.dll", tempDir); + String file = "aarch64".equals(System.getProperty("os.arch")) ? "jwm_arm64.dll" : "jwm_x64.dll"; + File library = _extract("/", file, tempDir); System.load(library.getAbsolutePath()); } else if (Platform.CURRENT == Platform.X11) { File library = _extract("/", "libjwm_x64.so", tempDir);