From 37d758f7f3191be1ec400aaef02aa0c5085f3c32 Mon Sep 17 00:00:00 2001 From: Tim Vahlbrock Date: Sat, 9 May 2026 16:14:36 +0200 Subject: [PATCH] minor fixes --- scripts/on-device-install/README.md | 2 +- scripts/on-device-install/install.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/on-device-install/README.md b/scripts/on-device-install/README.md index 3d292fe..31269e3 100644 --- a/scripts/on-device-install/README.md +++ b/scripts/on-device-install/README.md @@ -26,7 +26,7 @@ ssh -oHostKeyAlgorithms=+ssh-rsa root@ Then, run the following command to install AfterTouch on the device. ```bash -curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh +rw && curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh ``` After the installation check if you can access AfterTouch from your local device by navigating to `http://:8000`. If you can access the AfterTouch UI, you're good to go! If not, you may need to run AfterTouch on the speaker via SSH port forwarding. diff --git a/scripts/on-device-install/install.sh b/scripts/on-device-install/install.sh index fb9d9d7..2e4efe2 100644 --- a/scripts/on-device-install/install.sh +++ b/scripts/on-device-install/install.sh @@ -6,12 +6,13 @@ GH_REPO=${GH_REPO:-gesellix/Bose-SoundTouch} BINARY_URL=${BINARY_URL:-https://github.com/$GH_REPO/releases/download/v$VERSION/soundtouch-service-v$VERSION-linux-armv7} INIT_SCRIPT_URL=${INIT_SCRIPT_URL:-https://raw.githubusercontent.com/$GH_REPO/v$VERSION/scripts/on-device-install/aftertouch} -echo "Installing Aftertouch $VERSION for ARMv7..." +echo "Installing Aftertouch $VERSION ..." mkdir -p /opt/aftertouch cd /opt/aftertouch curl \ -sSL \ -O \ + --fal \ "$BINARY_URL" mv soundtouch-service-v$VERSION-linux-armv7 aftertouch-service @@ -22,6 +23,7 @@ cd /etc/init.d curl \ -sSL \ -O \ + --fail \ "$INIT_SCRIPT_URL" chmod +x aftertouch