Add OpenGL interface to Snapcraft for Electron 2.x

This commit is contained in:
Ben Gotow 2018-07-16 16:38:11 -07:00
parent 2472ca03d1
commit 9bbb25f23c

View file

@ -38,8 +38,6 @@ 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
@ -53,6 +51,7 @@ apps:
- browser-support
- cups-control
- gsettings
- opengl
- home
- desktop
- desktop-legacy