From 2372447d230079da8a7b2db16fd1c9fd635b2b39 Mon Sep 17 00:00:00 2001 From: herrernst Date: Sun, 3 Jan 2016 18:17:05 +0100 Subject: [PATCH] change binary name cargo can install directly from github, use `cargo install --git https://github.com/plietar/librespot` binary is put to ~/.cargo/bin/ --- Cargo.toml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3023f32e..20f95277 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ name = "librespot" path = "src/lib.rs" [[bin]] -name = "main" +name = "librespot" path = "src/main.rs" [dependencies.librespot-protocol] diff --git a/README.md b/README.md index 0360dabb..0e6c82e3 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ cargo build A sample program implementing a headless Spotify Connect receiver is provided. Once you've built *librespot*, run it using : ```shell -target/debug/main -a APPKEY -u USERNAME -c CACHEDIR -n DEVICENAME +target/debug/librespot -a APPKEY -u USERNAME -c CACHEDIR -n DEVICENAME ``` where `APPKEY` is the path to a Spotify application key file, `USERNAME` is your Spotify username, `CACHEDIR` is the path to directory where data will be cached,