Преглед изворни кода

change binary name
cargo can install directly from github, use
`cargo install --git https://github.com/plietar/librespot`
binary is put to ~/.cargo/bin/

herrernst пре 9 година
родитељ
комит
2372447d23
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      Cargo.toml
  2. 1 1
      README.md

+ 1 - 1
Cargo.toml

@@ -9,7 +9,7 @@ name = "librespot"
 path = "src/lib.rs"
 
 [[bin]]
-name = "main"
+name = "librespot"
 path = "src/main.rs"
 
 [dependencies.librespot-protocol]

+ 1 - 1
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,