From eb9e13a432f795a20eeaeeae3b609aa7ba8532e4 Mon Sep 17 00:00:00 2001 From: Constantin Piber <59023762+cpiber@users.noreply.github.com> Date: Sat, 21 Jun 2025 14:59:50 +0200 Subject: [PATCH] Startup: Attempt to make JCEF executable on start (#136) --- scripts/startup_script.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/startup_script.sh b/scripts/startup_script.sh index 12c45a7..9e384b8 100755 --- a/scripts/startup_script.sh +++ b/scripts/startup_script.sh @@ -102,6 +102,11 @@ if command -v Xvfb >/dev/null; then ln -s /opt/kcef/jcef /home/suwayomi/.local/share/Tachidesk/bin/kcef fi fi + if [ -d /home/suwayomi/.local/share/Tachidesk/bin/kcef ] || [ -L /home/suwayomi/.local/share/Tachidesk/bin/kcef ]; then + # make sure all files are always executable. KCEF (and our downloader) ensure this on creation, but if the flag is lost + # at some point, CEF will die + chmod -R a+x /home/suwayomi/.local/share/Tachidesk/bin/kcef || true + fi export LD_PRELOAD=/home/suwayomi/.local/share/Tachidesk/bin/kcef/libcef.so else echo "Suwayomi built without KCEF support, not starting Xvfb"