aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-31 21:09:12 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-31 21:09:12 +0200
commitaa59e04acdfe312d45193a8806288f45b9b130ab (patch)
tree50ee069f9da9230eec9e4910cb201877d01de9fe
parentsmall AppStream and AppImage fixes (diff)
downloadlibrewolf-linux-aa59e04acdfe312d45193a8806288f45b9b130ab.tar.gz
librewolf-linux-aa59e04acdfe312d45193a8806288f45b9b130ab.tar.bz2
librewolf-linux-aa59e04acdfe312d45193a8806288f45b9b130ab.zip
fix appimage creating a new profile folder on each launch; sanitize desktop file; fix icon symlink
l---------appimage/content/.DirIcon2
-rwxr-xr-xappimage/content/AppRun1
-rw-r--r--appimage/content/librewolf.desktop10
3 files changed, 10 insertions, 3 deletions
diff --git a/appimage/content/.DirIcon b/appimage/content/.DirIcon
index 2653ffb..b654e2f 120000
--- a/appimage/content/.DirIcon
+++ b/appimage/content/.DirIcon
@@ -1 +1 @@
-librewolf.svg \ No newline at end of file
+librewolf.png \ No newline at end of file
diff --git a/appimage/content/AppRun b/appimage/content/AppRun
index e347dcd..12f1b5a 100755
--- a/appimage/content/AppRun
+++ b/appimage/content/AppRun
@@ -4,6 +4,7 @@ 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 MOZ_LEGACY_PROFILES=1 # Prevent per installation profiles
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}"
diff --git a/appimage/content/librewolf.desktop b/appimage/content/librewolf.desktop
index 3e36765..687bebc 100644
--- a/appimage/content/librewolf.desktop
+++ b/appimage/content/librewolf.desktop
@@ -1,6 +1,12 @@
[Desktop Entry]
Name=LibreWolf
-Exec=librewolf
+Exec=librewolf %u
Icon=librewolf
Type=Application
-Categories=Network;
+MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;
+StartupWMClass=LibreWolf
+Categories=Network;WebBrowser;
+StartupNotify=true
+Terminal=false
+X-MultipleArgs=false
+Keywords=Internet;WWW;Browser;Web;Explorer
bgstack15