The JAR in this pull request is built from TheInfiniteKind/appbundler using JDK 1.8. TheInfiniteKind/appbundler has arm64 support since 2022.
Partially resolves #366.
This pull request enables support for arm64, but it is not a complete solution. If JAVA_HOME is pointing at an x86_64 JDK then the included JDK is x86_64. If JAVA_HOME is pointing at an arm64 JDK the the included JDK is arm64. This pull request will generate a fat binary for KeyStore Explorer, but it still requires two builds one for each architecture for the embedded JDK.
The build problem could be automated by having two different JAVA_HOME environments (e.g. JAVA_HOME_X64 and JAVA_HOME_ARM64), which would allow the build to generate two different disk images. Alternatively, the continuous integration job could be updated to call the build twice using different JDKs with no changes to the Gradle build.
The JAR in this pull request is built from TheInfiniteKind/appbundler using JDK 1.8. TheInfiniteKind/appbundler has arm64 support since 2022.
Partially resolves #366.
This pull request enables support for arm64, but it is not a complete solution. If JAVA_HOME is pointing at an x86_64 JDK then the included JDK is x86_64. If JAVA_HOME is pointing at an arm64 JDK the the included JDK is arm64. This pull request will generate a fat binary for KeyStore Explorer, but it still requires two builds one for each architecture for the embedded JDK.
The build problem could be automated by having two different JAVA_HOME environments (e.g. JAVA_HOME_X64 and JAVA_HOME_ARM64), which would allow the build to generate two different disk images. Alternatively, the continuous integration job could be updated to call the build twice using different JDKs with no changes to the Gradle build.