blob: b53fde191b0f7fe8af080a4086edde829b25f8ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
# Allow users to override command-line options
USER_FLAGS_FILE="$XDG_CONFIG_HOME/mullvad-browser-flags.conf"
if [ -f "$USER_FLAGS_FILE" ]; then
USER_FLAGS="$(sed 's/#.*//' "$USER_FLAGS_FILE" | tr '\n' ' ')"
fi
exec /opt/mullvad-browser/mullvadbrowser "$@" $USER_FLAGS
|