Skip to content

Allow customizing JNI lib loading - #47

Merged
dshatz merged 2 commits into
dshatz:mainfrom
wkornewald:flatpak-compat
Jun 16, 2026
Merged

dshatz merged 2 commits into
dshatz:mainfrom
wkornewald:flatpak-compat

Conversation

@wkornewald

@wkornewald wkornewald commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

When building Flatpaks via Nucleus, the native libs are not part of the resources, but instead live pre-extracted in a libs/resources folder, so System.loadLibrary() should be used directly. For even more flexibility this just allows fully customizing the loading process.

This also needs to be combined with #46 for the best out of the box Nucleus Flatpak experience.

@wkornewald wkornewald changed the title Added Flatpak support and allow customizing JNI lib loading Allow customizing JNI lib loading Jun 4, 2026
@dshatz

dshatz commented Jun 16, 2026 •

Copy link
Copy Markdown
Owner

Please note that this lib is not tested with pdfium binaries other than bundled in this repo.

@dshatz
dshatz merged commit 6738fd7 into dshatz:main Jun 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants