mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 14:37:13 -06:00
Load Windows on ARM (aarch64) native library
This commit is contained in:
@@ -55,10 +55,16 @@ class FlatNativeLibrary
|
||||
|
||||
String classifier;
|
||||
String ext;
|
||||
if( SystemInfo.isWindows_10_orLater && (SystemInfo.isX86 || SystemInfo.isX86_64) ) {
|
||||
// Windows: requires Windows 10/11 (x86 or x86_64)
|
||||
if( SystemInfo.isWindows_10_orLater ) {
|
||||
// Windows: requires Windows 10/11
|
||||
|
||||
if ( SystemInfo.isAARCH64 )
|
||||
classifier = "windows-aarch64";
|
||||
else if ( SystemInfo.isX86_64 )
|
||||
classifier = "windows-x86_64";
|
||||
else
|
||||
classifier = "windows-x86";
|
||||
|
||||
classifier = SystemInfo.isX86_64 ? "windows-x86_64" : "windows-x86";
|
||||
ext = "dll";
|
||||
|
||||
// Do not load jawt.dll (part of JRE) here explicitly because
|
||||
|
||||
Reference in New Issue
Block a user