2019-07-01 01:53:31 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2019-07-04 08:43:06 +02:00
|
|
|
# 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
|
2019-07-04 08:43:06 +02:00
|
|
|
# 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 "$@";
|
|
|
|
|
|
|
|
|
|
|
|
|