blob: 513e615d8a84811a68d2e3dfa98146a0bb48b5b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#
# Wrapper around chromium to enable extensions
# See https://wiki.debian.org/Chromium#Extensions
# https://www.chromium.org/developers/creating-and-using-profiles
# Check
if [ -z "$1" ]; then
cat $0
exit 1
fi
PROFILE="~/.config/chromium-profiles/$1"
shift
if which chromium 2> /dev/null; then
CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-remote-extensions" chromium --user-data-dir="$PROFILE" $*
fi
|