smalfix instal.sh
@@ -17,7 +17,7 @@ cargo_build() {
download() {
command -v curl >/dev/null &&
- curl --fail --location "$1" --output target/release/nvim-spotify
+ curl --fail --location "$1" --output target/release/sniprun
}
fetch_prebuilt_binary() {
@@ -27,7 +27,7 @@ fetch_prebuilt_binary() {
mkdir -p target/release
if (download "$url"); then
- chmod a+x target/release/nvim-spotify
+ chmod a+x target/release/sniprun
return
else
cargo_build || echo "Prebuilt binaries are not ready for this platform."
@@ -35,5 +35,5 @@ fetch_prebuilt_binary() {
}
arch=$(uname)
-echo "No pre-built binary available for ${arch}."
+echo "No pre-built binary available yet for platform: ${arch}."
cargo_build
