From fc4e61afb6b3afb7d867f8dc86d484e24beba1e8 Mon Sep 17 00:00:00 2001 From: probonopd Date: Wed, 30 Oct 2019 07:23:00 +0000 Subject: [PATCH] --env=LD_LIBRARY_PATH="$LD_LIBRARY_PATH" Possibly needed for OpenGL to work properly, https://github.com/NixOS/nixpkgs/issues/55191#issuecomment-490710342 --- code/worker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/worker.sh b/code/worker.sh index db06919a..2646cb35 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -230,9 +230,9 @@ sudo sysctl kernel.unprivileged_userns_clone=1 # https://github.com/AppImage/app # reset does not work here if [ x"$TERMINAL" == xfalse ] ; then - firejail --quiet --noprofile --net=none --appimage ./"$FILENAME" & + firejail --env=LD_LIBRARY_PATH="$LD_LIBRARY_PATH" --quiet --noprofile --net=none --appimage ./"$FILENAME" & else - xterm -hold -e firejail --quiet --noprofile --net=none --appimage ./"$FILENAME" --help & + xterm -hold -e firejail --env=LD_LIBRARY_PATH="$LD_LIBRARY_PATH" --quiet --noprofile --net=none --appimage ./"$FILENAME" --help & fi APID=$! sleep 15