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.* *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 ```sh
git clone https://git.reidlab.pink/reidlab/lastfmpris && cd lastfmpris 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 first, clone repository:
sudo apk add install pkgconf openssl dbus
```
finally, run/build ```sh
git clone https://git.reidlab.pink/reidlab/lastfmpris && cd lastfmpris
```
```sh second, obtain dependencies (this will vary on your package manager, here, alpine is used)
cargo run
```
```sh ```sh
cargo build --release sudo apk add install pkgconf openssl dbus
``` ```
finally, run/build
```sh
cargo run
```
```sh
cargo build --release
```