If restart Docker Suwayomi Preview. The issue is caused by line 94 server.conf will become server.koreaderSyncPercentageTolerance = "0.0000000000001" instead of 0.00000000000001
When restarting the container, `Xvfb` is killed quite rudely, so it doesn't have time to clean up the lock. This means that on subsequent starts (without recreating the container), `Xvfb` refuses to start and thus the WebView fails.
* C: handler for abort
CEF will kill the thread if the GPU process cannot be created. This
brings down Suwayomi with it, so instead just kill the thread and inform
Java about the exception.
* Two-stage build to download an build catch_abort
Building JNI extensions requires JDK, but we don't need it at runtime,
so create a build-step based on JDK, then copy the built binary over
* Add catch handler to github action
* Add `LD_PRELOAD` to startup script
Closes#131
* Script to download and extract a JCEF release
Closely mirrors what KCEF does, but written in glorious AWK
* Call kcef_download and link downloaded JCEF where Suwayomi expects it
The script downloads JCEF into /opt. Link this folder at runtime into
the data folder where Suwayomi expects it. This allows us to easily
bundle the predownloaded release without modifying Suwayomi startup.
Move `LD_PRELOAD` down a bit to avoid warnings about preloading
libcef.so before the symlink exists.
* Add KCEF url to workflow to embed JCEF into container
* Support KCEF
Install native dependencies required by JCEF
Sets up JNI libraries as required by the browser process
Launch Suwayomi in a XVFB environment to fake X11
* Copy libraries to home folder instead
Otherwise, other architectures are not supported
Search path is :
[/usr/java/packages/lib/libnativewindow_awt.so, /usr/lib64/libnativewindow_awt.so, /usr/lib64/libnativewindow_awt.so, /usr/lib/libnativewindow_awt.so, /usr/lib/libnativewindow_awt.so, /home/suwayomi/libnativewindow_awt.so, /home/suwayomi/natives/linux-amd64/libnativewindow_awt.so]