#!/bin/sh # Firefox specific environment variables # https://github.com/AppImage/pkg2appimage/commit/c9b09eb557b6b0b4d914ecb82998148f38880d1d export SNAP_NAME="floorp" export MOZ_LEGACY_PROFILES=1 # Find the AppDir. It is the directory that contains AppRun. # This assumes that this script resides inside the AppDir or a subdirectory. # If this script is run inside an AppImage, then the AppImage runtime likely has already set $APPDIR if [ -z "$APPDIR" ] ; then HERE="$(dirname "$(readlink -f "${0}")")" export APPDIR="$HERE" fi #export PATH="$APPDIR/usr/bin:$PATH" #export XDG_DATA_DIRS="$APPDIR/share/:$XDG_DATA_DIRS" #export LD_LIBRARY_PATH="$APPDIR/usr/lib:$LD_LIBRARY_PATH" "$APPDIR/floorp" "$@"