Skip to content

Instantly share code, notes, and snippets.

@sundowndev
Created February 22, 2023 10:56
Show Gist options
  • Save sundowndev/d9ec6d07a6a4f43e3f763b9919fb56b6 to your computer and use it in GitHub Desktop.
Save sundowndev/d9ec6d07a6a4f43e3f763b9919fb56b6 to your computer and use it in GitHub Desktop.
Configure script for meganz web extension to update and apply various fixes
#!/bin/sh
# First, follow install instructions at https://github.com/meganz/web-extension
git pull
git submodule update --remote --merge
# Temporary fixes related to https://github.com/meganz/web-extension/issues/11
cp webclient/lang/en_prod.json webclient/lang/en.json
cat webclient/index.html | sed -r 's/\"\/secureboot.js/\"\/webclient\/secureboot.js/' | tee webclient/index.html
echo "Done.\nYou may go to about:debugging#/runtime/this-firefox or chrome://extensions/ to reload the extention."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment