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.

Revisions

  1. sundowndev created this gist Feb 22, 2023.
    13 changes: 13 additions & 0 deletions configure
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/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."