blob: 569c03ff703310e30d579d0dc9f996c8e3842997 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env bash
# 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 "$@";
|