Merge pull request #57 from morphis/f/set-xdg-data-home

Set XDG_DATA_HOME to SNAP_COMMON to have a common place for our app l…
This commit is contained in:
Simon Fels 2017-03-12 14:32:25 +01:00 committed by GitHub
commit 241e3cfdfa

View file

@ -29,4 +29,10 @@ export LIBGL_DRIVERS_PATH=$SNAP/usr/lib/$ARCH/dri
# ensure the snappy gl libs win
export LD_LIBRARY_PATH="$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH"
# We set XDG_DATA_HOME to SNAP_COMMON here as this will be the location we will
# create all our application launchers in. The system application launcher will
# be configured by our installer to look into this directory for available
# launchers.
export XDG_DATA_HOME="$SNAP_COMMON"
exec $SNAP/usr/bin/anbox $@