mirror of https://github.com/gorhill/uBlock.git
Update build instructions
This commit is contained in:
parent
29092d8f51
commit
fe49f7782a
|
@ -60,19 +60,22 @@ On Windows, the settings are saved in a SQlite file located at `%APPDATA%\Mozill
|
||||||
|
|
||||||
### Build instructions (for developers)
|
### Build instructions (for developers)
|
||||||
|
|
||||||
- Clone [uBlock](https://github.com/gorhill/uBlock) and [uAssets](https://github.com/uBlockOrigin/uAssets) repositories in the same parent directory
|
- Clone [uBlock repo](https://github.com/gorhill/uBlock): `git clone https://github.com/gorhill/uBlock.git`
|
||||||
- `git clone https://github.com/gorhill/uBlock.git`
|
|
||||||
- `git clone https://github.com/uBlockOrigin/uAssets.git`
|
|
||||||
- Set path to uBlock: `cd uBlock`
|
- Set path to uBlock: `cd uBlock`
|
||||||
- The official version of uBO is in the `master` branch
|
- The official version of uBO is in the `master` branch
|
||||||
- `git checkout master`
|
- `git checkout master`
|
||||||
- Build the plugin:
|
- Build the plugin:
|
||||||
- Chromium: `./tools/make-chromium.sh`
|
- Chromium: `make chromium`
|
||||||
- Firefox webext: `./tools/make-firefox.sh all`
|
- Firefox: `make firefox`
|
||||||
- Firefox legacy:
|
- NPM package: `make npm`
|
||||||
- `git checkout firefox-legacy`
|
|
||||||
- `./tools/make-firefox-legacy.sh all`
|
|
||||||
- Load the result of the build into your browser:
|
- Load the result of the build into your browser:
|
||||||
- Chromium: load the unpacked extension folder `/uBlock/dist/build/uBlock0.chromium/` in Chromium to use the extension.
|
- Chromium:
|
||||||
- Firefox: drag-and-drop `/uBlock/dist/build/uBlock0.firefox.xpi` or `/uBlock/dist/build/uBlock0.firefox-legacy.xpi` into Firefox.
|
- Navigate to `chrome://extensions/`
|
||||||
|
- Check _"Developer mode"_
|
||||||
|
- Click _"Load unpacked"_
|
||||||
|
- Select `/uBlock/dist/build/uBlock0.chromium/`
|
||||||
|
- Firefox:
|
||||||
|
- Navigate to `about:debugging#/runtime/this-firefox`
|
||||||
|
- Click _"Load Temporary Add-on..."_
|
||||||
|
- Select `/uBlock/dist/build/uBlock0.firefox/`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue