--env=LD_LIBRARY_PATH="$LD_LIBRARY_PATH"

Possibly needed for OpenGL to work properly, https://github.com/NixOS/nixpkgs/issues/55191#issuecomment-490710342
This commit is contained in:
probonopd authored and GitHub committed 2019-10-30 07:23:00 +00:00
1 parent 9bb1499f8a
commit fc4e61afb6
1 file changed
+2 -2
+2 -2
View File
@@ -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