Skip to content

Commit

Permalink
feat: add macOS dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
agiz committed Sep 11, 2020
1 parent 800b86a commit c6661b7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,38 @@ build script and pre-built binaries.

Thanks to [@chuck-](https://github.com/chuck-) for providing this!

### macOS

#### Install luarocks

```
brew install luarocks
```

#### Install luasocket with luarocks

Check lua version of your mpv instance.

```
mpv -v
...
--lua=51deb # <- this is your lua version
...
```

Proceed to install correct luasocket.

```
luarocks --lua-dir=/usr/local/opt/[email protected] install luasocket
```

#### Set correct path

```
eval $(luarocks --lua-dir=/usr/local/opt/[email protected] path --bin)
```

## Screenshots
![webui screenshot](screenshots/webui.png#2)

Expand Down

0 comments on commit c6661b7

Please sign in to comment.