improve readme steps
This commit is contained in:
parent
f0a6bb50f0
commit
ae824fcb47
1 changed files with 23 additions and 15 deletions
38
README.md
38
README.md
|
@ -18,24 +18,32 @@ you also have the option to define your mpris bus name, which will instead wait
|
|||
|
||||
*if you're on a setup that uses nix, you can just use `nix build` or the provided devshell to build the application.*
|
||||
|
||||
first, clone repository:
|
||||
1. the nix way
|
||||
|
||||
```sh
|
||||
git clone https://git.reidlab.pink/reidlab/lastfmpris && cd lastfmpris
|
||||
```
|
||||
```sh
|
||||
nix run git+https://git.reidlab.pink/reidlab/lastfmpris.git
|
||||
```
|
||||
|
||||
second, obtain dependencies (this will vary on your package manager, here, alpine is used)
|
||||
2. the normal way
|
||||
|
||||
```sh
|
||||
sudo apk add install pkgconf openssl dbus
|
||||
```
|
||||
first, clone repository:
|
||||
|
||||
finally, run/build
|
||||
```sh
|
||||
git clone https://git.reidlab.pink/reidlab/lastfmpris && cd lastfmpris
|
||||
```
|
||||
|
||||
```sh
|
||||
cargo run
|
||||
```
|
||||
second, obtain dependencies (this will vary on your package manager, here, alpine is used)
|
||||
|
||||
```sh
|
||||
cargo build --release
|
||||
```
|
||||
```sh
|
||||
sudo apk add install pkgconf openssl dbus
|
||||
```
|
||||
|
||||
finally, run/build
|
||||
|
||||
```sh
|
||||
cargo run
|
||||
```
|
||||
|
||||
```sh
|
||||
cargo build --release
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue