2

I was writing a script that sets up my entire linux setup after a fresh install. I was looking into how to install the extensions that I use without having to install them from the chrome extension store.

Any help would be highly appreciated. Thanks.

Matblanket
  • 55
  • 4

2 Answers2

2

Here you go:

echo "### Installing bitwarden browser plugin"
BITWARDEN_ID=nngceckbapebfimnlniiiahkandclblb
EXTENSIONS_PATH=/opt/brave.com/brave/extensions
mkdir -p $EXTENSIONS_PATH
echo '{ "external_update_url": "https://clients2.google.com/service/update2/crx" }' > "${EXTENSIONS_PATH}/${BITWARDEN_ID}.json"
drzymala
  • 2,009
  • 20
  • 26