From d541daa86082b07d01207d5aadc66c572535c8b0 Mon Sep 17 00:00:00 2001 From: Chris Frankland-Wright <85807217+cjfranko@users.noreply.github.com> Date: Mon, 7 Jul 2025 18:52:53 +0100 Subject: [PATCH] Update setup.sh --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 87c8601..8bee7d5 100644 --- a/setup.sh +++ b/setup.sh @@ -27,7 +27,7 @@ sudo apt install -y git curl python3 python3-pip build-essential cmake \ # Step 3: Install Arduino CLI manually # --------------------------------------------------------- echo "Step 3: Installing arduino-cli manually..." -cd /home/pi +cd "$HOME" curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh sudo mv bin/arduino-cli /usr/local/bin/ @@ -44,7 +44,7 @@ pip3 install --break-system-packages pylibltc # Step 5: Download and apply splash screen # --------------------------------------------------------- echo "Step 5: Downloading and applying splash screen..." -cd /home/pi +cd "$HOME" wget -O splash.png https://raw.githubusercontent.com/cjfranko/NTP-Timeturner/master/splash.png if [ -f splash.png ]; then @@ -59,7 +59,7 @@ fi # Step 6: Download Teensy firmware and flash if available # --------------------------------------------------------- echo "Step 6: Downloading Teensy firmware..." -cd /home/pi +cd "$HOME" wget -O ltc_audiohat_lock.ino.hex https://raw.githubusercontent.com/cjfranko/NTP-Timeturner/master/firmware/ltc_audiohat_lock.ino.hex echo "Checking for connected Teensy 4.0..."