diff options
author | BeatLink <beatlink@protonmail.com> | 2019-08-16 20:00:38 -0500 |
---|---|---|
committer | BeatLink <beatlink@protonmail.com> | 2019-08-16 20:00:38 -0500 |
commit | d16a5b29e81bb6e0e58af2a97484defccacf355c (patch) | |
tree | 4ef06da3e1d9548a99fc4ce8adf4587d7bd14621 /linux/appimage/content/AppRun | |
parent | move toggle settings folder to linux script (diff) | |
download | librewolf-linux-d16a5b29e81bb6e0e58af2a97484defccacf355c.tar.gz librewolf-linux-d16a5b29e81bb6e0e58af2a97484defccacf355c.tar.bz2 librewolf-linux-d16a5b29e81bb6e0e58af2a97484defccacf355c.zip |
Move branding and settings to seperate repos and move browser to top level
Diffstat (limited to 'linux/appimage/content/AppRun')
-rwxr-xr-x | linux/appimage/content/AppRun | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linux/appimage/content/AppRun b/linux/appimage/content/AppRun new file mode 100755 index 0000000..e347dcd --- /dev/null +++ b/linux/appimage/content/AppRun @@ -0,0 +1,12 @@ +#!/bin/sh +SELF=$(readlink -f "$0") +HERE=${SELF%/*} +export PATH="${HERE}:${HERE}/usr/bin/:${HERE}/usr/sbin/:${HERE}/usr/games/:${HERE}/bin/:${HERE}/sbin/${PATH:+:$PATH}" +export LD_LIBRARY_PATH="${HERE}/usr/lib/:${HERE}/usr/lib/i386-linux-gnu/:${HERE}/usr/lib/x86_64-linux-gnu/:${HERE}/usr/lib32/:${HERE}/usr/lib64/:${HERE}/lib/:${HERE}/lib/i386-linux-gnu/:${HERE}/lib/x86_64-linux-gnu/:${HERE}/lib32/:${HERE}/lib64/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" +export PYTHONPATH="${HERE}/usr/share/pyshared/${PYTHONPATH:+:$PYTHONPATH}" +export XDG_DATA_DIRS="${HERE}/usr/share/${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}" +export PERLLIB="${HERE}/usr/share/perl5/:${HERE}/usr/lib/perl5/${PERLLIB:+:$PERLLIB}" +export GSETTINGS_SCHEMA_DIR="${HERE}/usr/share/glib-2.0/schemas/${GSETTINGS_SCHEMA_DIR:+:$GSETTINGS_SCHEMA_DIR}" +export QT_PLUGIN_PATH="${HERE}/usr/lib/qt4/plugins/:${HERE}/usr/lib/i386-linux-gnu/qt4/plugins/:${HERE}/usr/lib/x86_64-linux-gnu/qt4/plugins/:${HERE}/usr/lib32/qt4/plugins/:${HERE}/usr/lib64/qt4/plugins/:${HERE}/usr/lib/qt5/plugins/:${HERE}/usr/lib/i386-linux-gnu/qt5/plugins/:${HERE}/usr/lib/x86_64-linux-gnu/qt5/plugins/:${HERE}/usr/lib32/qt5/plugins/:${HERE}/usr/lib64/qt5/plugins/${QT_PLUGIN_PATH:+:$QT_PLUGIN_PATH}" +EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 1) +exec "${EXEC}" "$@" |