aboutsummaryrefslogtreecommitdiff
path: root/browser/linux/resources/launch_librewolf.sh
diff options
context:
space:
mode:
authorBeatLink <beatlink@protonmail.com>2019-07-14 01:40:14 -0500
committerBeatLink <beatlink@protonmail.com>2019-07-14 01:40:14 -0500
commit19c4ca7b75f9e51c55590be161167bf10c975f05 (patch)
tree57886b8ca78e1293300f83c132ce203c23144c5c /browser/linux/resources/launch_librewolf.sh
parentAdd DNSOverHTTPS settings (diff)
downloadlibrewolf-linux-19c4ca7b75f9e51c55590be161167bf10c975f05.tar.gz
librewolf-linux-19c4ca7b75f9e51c55590be161167bf10c975f05.tar.bz2
librewolf-linux-19c4ca7b75f9e51c55590be161167bf10c975f05.zip
Move launch script
Diffstat (limited to 'browser/linux/resources/launch_librewolf.sh')
-rwxr-xr-xbrowser/linux/resources/launch_librewolf.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/browser/linux/resources/launch_librewolf.sh b/browser/linux/resources/launch_librewolf.sh
new file mode 100755
index 0000000..88058c6
--- /dev/null
+++ b/browser/linux/resources/launch_librewolf.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+
+# PROFILE SPECIFIC SETTINGS WILL NOT WORK, DO NOT UNCOMMENT
+# Adds option to install settings if argument is passed
+# if [ "$1" = "--install-settings" ]; then
+# ./install_settings;
+# fi
+
+# Sets env variables to disable dedicated profiles (which breaks in some cases)
+export MOZ_LEGACY_PROFILES=1;
+export SNAP_NAME="firefox";
+SCRIPT_FOLDER=$(realpath $(dirname $0));
+chmod +x $SCRIPT_FOLDER/librewolf;
+$SCRIPT_FOLDER/librewolf "$@";
+
+
+
bgstack15