improve readme steps

This commit is contained in:
Reid 2024-09-07 23:42:46 -07:00
parent f0a6bb50f0
commit ae824fcb47
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD

View file

@ -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
```