1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

Update README.md

This commit is contained in:
Raymond Hill 2018-06-22 05:32:41 -04:00 committed by GitHub
parent bab3a547ce
commit e8e1b9eb07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
dist/README.md vendored
View File

@ -61,14 +61,17 @@ On Windows, the settings are saved in a SQlite file located at `%APPDATA%\Mozill
### Build instructions (for developers)
- Clone [uBlock](https://github.com/gorhill/uBlock) and [uAssets](https://github.com/uBlockOrigin/uAssets) repositories in the same parent directory
- `git clone https://github.com/gorhill/uBlock.git`
- `git clone https://github.com/uBlockOrigin/uAssets.git`
- Set path to uBlock: `cd uBlock`
- Optional: Select the version to build: `git checkout <tag>`
- The official version of uBO is in the `master` branch
- `git checkout master`
- Build the plugin:
- Chromium: `./tools/make-chromium.sh`
- Firefox webext: `./tools/make-firefox.sh all`
- Firefox legacy:
- checkout the `firefox-legacy` branch
- `./tools/make-firefox.sh all`
- `git checkout firefox-legacy`
- `./tools/make-firefox-legacy.sh all`
- 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.
- Firefox: drag-and-drop `/uBlock/dist/build/uBlock0.firefox.xpi` or `/uBlock/dist/build/uBlock0.firefox-legacy.xpi` into Firefox.