From 62ae8ee96788df9e1fc42322e942275bc5cc0971 Mon Sep 17 00:00:00 2001 From: BeatLink Date: Wed, 17 Jul 2019 13:50:38 -0500 Subject: Split build script and rearrange linux folder --- browser/linux/appimage/content/.DirIcon | 1 + browser/linux/appimage/content/AppRun | 12 ++++ browser/linux/appimage/content/librewolf.desktop | 6 ++ browser/linux/appimage/content/librewolf.svg | 90 ++++++++++++++++++++++++ 4 files changed, 109 insertions(+) create mode 120000 browser/linux/appimage/content/.DirIcon create mode 100755 browser/linux/appimage/content/AppRun create mode 100644 browser/linux/appimage/content/librewolf.desktop create mode 100644 browser/linux/appimage/content/librewolf.svg (limited to 'browser/linux/appimage/content') diff --git a/browser/linux/appimage/content/.DirIcon b/browser/linux/appimage/content/.DirIcon new file mode 120000 index 0000000..2653ffb --- /dev/null +++ b/browser/linux/appimage/content/.DirIcon @@ -0,0 +1 @@ +librewolf.svg \ No newline at end of file diff --git a/browser/linux/appimage/content/AppRun b/browser/linux/appimage/content/AppRun new file mode 100755 index 0000000..e347dcd --- /dev/null +++ b/browser/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}" "$@" diff --git a/browser/linux/appimage/content/librewolf.desktop b/browser/linux/appimage/content/librewolf.desktop new file mode 100644 index 0000000..3e36765 --- /dev/null +++ b/browser/linux/appimage/content/librewolf.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=LibreWolf +Exec=librewolf +Icon=librewolf +Type=Application +Categories=Network; diff --git a/browser/linux/appimage/content/librewolf.svg b/browser/linux/appimage/content/librewolf.svg new file mode 100644 index 0000000..2c6262a --- /dev/null +++ b/browser/linux/appimage/content/librewolf.svg @@ -0,0 +1,90 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + -- cgit