diff options
author | BeatLink <beatlink@protonmail.com> | 2019-07-14 01:40:14 -0500 |
---|---|---|
committer | BeatLink <beatlink@protonmail.com> | 2019-07-14 01:40:14 -0500 |
commit | 19c4ca7b75f9e51c55590be161167bf10c975f05 (patch) | |
tree | 57886b8ca78e1293300f83c132ce203c23144c5c /browser/linux/resources/launch_librewolf.sh | |
parent | Add DNSOverHTTPS settings (diff) | |
download | librewolf-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-x | browser/linux/resources/launch_librewolf.sh | 17 |
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 "$@"; + + + |