foxgirl-linux/browser/linux/resources/launch_librewolf.sh

18 lines
460 B
Bash
Raw Normal View History

2019-07-01 01:53:31 +02:00
#!/usr/bin/env bash
# PROFILE SPECIFIC SETTINGS WILL NOT WORK, DO NOT UNCOMMENT
2019-07-01 01:53:31 +02:00
# Adds option to install settings if argument is passed
# if [ "$1" = "--install-settings" ]; then
# ./install_settings;
# fi
2019-07-01 01:53:31 +02:00
# 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 "$@";