From e283afe03f69482c22a192f64082fd1e70dd4590 Mon Sep 17 00:00:00 2001 From: Xoconoch <93692082+Xoconoch@users.noreply.github.com> Date: Tue, 11 Feb 2025 12:53:38 -0600 Subject: [PATCH] Update README.md --- README.md | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d7aea4e..7fadc26 100755 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ Copy that value and paste it into the correspondant setting in Spotizerr First create a Spotify credentials file using the 3rd-party `librespot-auth` tool, this step has to be done in a PC/Laptop that has the Spotify desktop app installed. --- -#### For Linux and Windows (using Docker) +#### For Linux (using Docker) 1. Clone the `librespot-auth` repository: ```shell git clone --depth 1 https://github.com/dspearson/librespot-auth.git @@ -111,18 +111,31 @@ First create a Spotify credentials file using the 3rd-party `librespot-auth` too docker run --rm -v "$(pwd)/librespot-auth":/app -w /app rust:latest cargo build --release ``` -3. Run the built binary: - - **Linux**: +3. Run the built binary: ```shell ./librespot-auth/target/release/librespot-auth --name "mySpotifyAccount1" --class=computer ``` - - **Windows**: - ```shell - .\librespot-auth\target\release\librespot-auth.exe --name "mySpotifyAccount1" --class=computer - ``` --- +#### For Windows (using Docker) + +1. Clone the `librespot-auth` repository: + ```shell + git clone --depth 1 https://github.com/dspearson/librespot-auth.git + ``` + +2. Build the repository using a windows-targeted Rust Docker image ([why a different image?](https://github.com/jscharnitzke/rust-build-windows)): + ```shell + docker run --rm -v "${pwd}/librespot-auth:/app" -w "/app" jscharnitzke/rust-build-windows cargo build --release + ``` + +3. Run the built binary: + ```shell + .\librespot-auth\target\x86_64-pc-windows-gnu\release\librespot-auth.exe --name "mySpotifyAccount1" --class=computer + ``` +--- + #### For Apple Silicon (macOS) 1. Clone the `librespot-auth` repository: ```shell