diff --git a/scripts/snap-wrapper.sh b/scripts/snap-wrapper.sh index c2884fdbed8752c0a91ef4017229111665ffa377..9baec31ff5c45d84af44ce5713a35554e94e553b 100755 --- a/scripts/snap-wrapper.sh +++ b/scripts/snap-wrapper.sh @@ -17,14 +17,12 @@ export LD_LIBRARY_PATH=$SNAP/usr/lib/$ARCH/mesa-egl:$LD_LIBRARY_PATH # XDG Config export XDG_CONFIG_DIRS=$SNAP/etc/xdg:$XDG_CONFIG_DIRS export XDG_CONFIG_DIRS=$SNAP/usr/xdg:$XDG_CONFIG_DIRS + # Note: this doesn't seem to work, QML's LocalStorage either ignores # or fails to use $SNAP_USER_DATA if defined here export XDG_DATA_DIRS=$SNAP_USER_DATA:$XDG_DATA_DIRS export XDG_DATA_DIRS=$SNAP/usr/share:$XDG_DATA_DIRS -# Not good, needed for fontconfig -export XDG_DATA_HOME=$SNAP/usr/share - # Tell libGL where to find the drivers export LIBGL_DRIVERS_PATH=$SNAP/usr/lib/$ARCH/dri