Make Snap library path explicit to track down segfault

This commit is contained in:
Ben Gotow 2018-07-15 02:11:21 -07:00
parent 237f809170
commit e5e5756e09

View file

@ -38,6 +38,8 @@ apps:
command: desktop-launch $SNAP/usr/share/mailspring/mailspring
desktop: usr/share/applications/mailspring.desktop
environment:
LD_LIBRARY_PATH: $SNAP_LIBRARY_PATH:$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu/pulseaudio:$SNAP/usr/lib/x86_64-linux-gnu/mesa-egl:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu
PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH
# Correct the TMPDIR path for Chromium Framework/Electron to
# ensure libappindicator has readable resources.
HOME: $SNAP_USER_COMMON