Skip to content

Commit

Permalink
Add instructions for setting up permissions on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
fenhl authored Oct 6, 2021
1 parent 86f16dc commit 6a9de31
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

# Installation

If you are on macOS, you can [download the tool](https://github.com/fenhl/webloc-cli/releases/latest/download/webloc) and place it somewhere in your `PATH`. For other platforms, please see the following instructions for building from source.
## macOS

1. [Download `webloc`](https://github.com/fenhl/webloc-cli/releases/latest/download/webloc)
2. Mark `webloc` as executable (`chmod +x Downloads/webloc`) and move it to somewhere in your `PATH`.
3. Try running `webloc -h`. You will get a permission error that `webloc` is from an unidentified developer.
4. Open System Preferences → Security & Privacy → General and click the button to allow `webloc` to run.
5. Now `webloc -h` will show another warning, after which it should output the help text.

## From source

Expand Down

0 comments on commit 6a9de31

Please sign in to comment.