You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugin-build/plugin/src/main/kotlin/io/github/kdroidfilter/nucleus/desktop/application/internal/configureJvmApplication.kt
+7-30Lines changed: 7 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -859,37 +859,14 @@ private fun JvmApplicationContext.configurePackageUberJarForCurrentOS(
859
859
* JNA-specific args are always included: they are harmless if JNA is not on the classpath
860
860
* (the JVM simply ignores unknown system properties).
861
861
*
862
-
* `jna.boot.library.path` must include the platform-specific subdirectory (e.g. `darwin-aarch64`)
863
-
* because JNA looks for `libjnidispatch` directly in the listed directories without adding
864
-
* any platform prefix itself.
862
+
* Native libs are extracted flat into [resourcesPath] (no platform subdirectories),
863
+
* so a single directory entry is sufficient for all lookup mechanisms.
Copy file name to clipboardExpand all lines: plugin-build/plugin/src/main/kotlin/io/github/kdroidfilter/nucleus/desktop/application/tasks/AbstractExtractNativeLibsTask.kt
+10-15Lines changed: 10 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -66,21 +66,16 @@ abstract class AbstractExtractNativeLibsTask : AbstractNucleusTask() {
66
66
val info = detectInfo(entry.name, zis)
67
67
if (shouldExtract(info, expectedOs, expectedArch)) {
68
68
val fileName = entry.name.substringAfterLast('/')
69
-
// Preserve parent directory for libs that use path-based lookup (e.g. JNA
0 commit comments