# # 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 if which chromium 2> /dev/null; then BASE="$HOME/.config/chromium-profiles" PROFILE="$BASE/$1" mkdir -p "$PROFILE" shift CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-remote-extensions" chromium --user-data-dir="$PROFILE" $* fi