Update manual build instructions in documentation (#13508)

Updates the "add custom build" instructions for Chrome and Firefox, which were outdated and/or poorly written.
feature/default_network_editable
Erik Marks 3 years ago committed by GitHub
parent 355e5ab399
commit b92aab1e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      docs/add-to-chrome.md
  2. 15
      docs/add-to-firefox.md

@ -2,13 +2,16 @@
![Load dev build](./load-dev-build-chrome.gif) ![Load dev build](./load-dev-build-chrome.gif)
* Create a local build of MetaMask using your preferred method.
* You can find build instructions in the [readme](https://github.com/MetaMask/metamask-extension#readme).
* Open `Settings` > `Extensions`. * Open `Settings` > `Extensions`.
* Or go straight to [chrome://extensions](chrome://extensions).
* Check "Developer mode". * Check "Developer mode".
* Alternatively, use the URL `chrome://extensions/` in your address bar
* At the top, click `Load Unpacked Extension`. * At the top, click `Load Unpacked Extension`.
* Navigate to your `metamask-plugin/dist/chrome` folder. * Navigate to your `metamask-extension/dist/chrome` folder.
* Click `Select`. * Click `Select`.
* Change to your locale via `chrome://settings/languages` * Change to your locale via `chrome://settings/languages`
* Restart the browser and test the plugin in your locale * Restart the browser and test the extension in your locale
You now have the plugin, and can click 'inspect views: background plugin' to view its dev console. Your dev build is now added to Chrome, and you can click `Inspect views
background.html` in its card on the extension settings page to view its dev console.

@ -1,14 +1,11 @@
# Add Custom Build to Firefox # Add Custom Build to Firefox
Go to the url `about:debugging#addons`. * Create a local build of MetaMask using your preferred method.
* You can find build instructions in the [readme](https://github.com/MetaMask/metamask-extension#readme).
Click the button `Load Temporary Add-On`. * Go to the url `about:debugging#addons`.
* Click the button `Load Temporary Add-On`.
Select the file `dist/firefox/manifest.json`. * Select the file `metamask-extension/dist/firefox/manifest.json`.
* You can optionally enable debugging, and click `Debug`, for a console window that logs all of Metamask's processes to a single console.
You can optionally enable debugging, and click `Debug`, for a console window that logs all of Metamask's processes to a single console.
If you have problems debugging, try connecting to the IRC channel `#webextensions` on `irc.mozilla.org`. If you have problems debugging, try connecting to the IRC channel `#webextensions` on `irc.mozilla.org`.
For longer questions, use the StackOverflow tag `firefox-addons`. For longer questions, use the StackOverflow tag `firefox-addons`.

Loading…
Cancel
Save