Skip to content

Commit

Permalink
Clarify build instructions (address gorhill#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
el1t committed Dec 7, 2016
1 parent 5564286 commit 10b850c
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ To benefit from uBlock Origin's higher efficiency, it's advised that you don't u

To build and load an unpacked extension for development:

1. Clone `uBlock-Safari` and [`uAssets`](https://github.com/uBlockOrigin/uAssets) into the same parent directory
1. Run `./tools/make-safari.sh` in `uBlock-Safari`'s directory
1. Install the unpacked extension through Safari's Extension Builder
1. **Clone** `uBlock-Safari` and [`uAssets`](https://github.com/uBlockOrigin/uAssets) into the same parent directory
1. **Build** by running `./tools/make-safari.sh` in `uBlock-Safari`'s directory
1. **Install** the unpacked extension through Safari's Extension Builder
1. In Safari, load the Extension Builder (Develop > Show Extension Builder)
1. Click the `+` button in the bottom left corner and "Add Extension"
1. Select `dist/build/uBlock.safariextension`
Expand All @@ -55,7 +55,19 @@ To build and load an unpacked extension for development:

> If you don't see a Develop menu in Safari, you can run
> `defaults write com.apple.Safari IncludeDevelopMenu -bool true`
> or go to Preferences > Advanced > Show Develop menu in menu bar.
> or go to `Preferences > Advanced > Show Develop menu in menu bar`.
Example clone and build:

```bash
# Clone
git clone https://github.com/uBlockOrigin/uAssets.git
git clone https://github.com/el1t/uBlock-Safari.git
# Build
cd uBlock-Safari
./tools/make-safari.sh
echo 'Output is in dist/build/uBlock.safariextension'
```

## Release History

Expand Down

0 comments on commit 10b850c

Please sign in to comment.