mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +01:00
Update manual build instructions in documentation (#13508)
Updates the "add custom build" instructions for Chrome and Firefox, which were outdated and/or poorly written.
This commit is contained in:
parent
355e5ab399
commit
b92aab1e87
@ -2,13 +2,16 @@
|
||||
|
||||
![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`.
|
||||
* Or go straight to [chrome://extensions](chrome://extensions).
|
||||
* Check "Developer mode".
|
||||
* Alternatively, use the URL `chrome://extensions/` in your address bar
|
||||
* 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`.
|
||||
* 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
|
||||
|
||||
Go to the url `about:debugging#addons`.
|
||||
|
||||
Click the button `Load Temporary Add-On`.
|
||||
|
||||
Select the file `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.
|
||||
* 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).
|
||||
* Go to the url `about:debugging#addons`.
|
||||
* Click the button `Load Temporary Add-On`.
|
||||
* 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.
|
||||
|
||||
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`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user