Created
February 7, 2025 15:14
-
-
Save ralph/42c417033693b8475b23ce89959f5b10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Build vue devtools for Firefox. | |
# Check out the repository and run this script, then install the XPI file. | |
# https://github.com/vuejs/devtools | |
# You may also have to set `xpinstall.signatures.required` to `false` in `about:config`. | |
cd packages/firefox-extension | |
git checkout manifest.json | |
cat manifest.json | jq --argjson browser_specific_settings '{"gecko": {"id": "[email protected]", "strict_min_version": "58.0"}}' '. + {browser_specific_settings: $browser_specific_settings}' > tmp.json | |
mv tmp.json manifest.json | |
zip -1 -r ../../vue-devtools.xpi * --exclude 'node_modules/*' | |
git checkout manifest.json | |
cd ../.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment