1
0

Set up test flow on my Mac
All checks were successful
Build and test project / build-and-test (push) Successful in 1m35s

This commit is contained in:
2026-03-21 13:53:34 +01:00
parent c5ca91f524
commit f5fa27e00f
2 changed files with 10 additions and 0 deletions

View File

@@ -15,6 +15,13 @@ FIRMWARE_FILE="${FIRMWARE_DIR}/kobo-update-${FIRMWARE_VERSION}.zip"
cd "$(dirname "$0")"
# Use local Go if available
LOCAL_GO_DIR="$(pwd)/go"
if [ -x "$LOCAL_GO_DIR/bin/go" ]; then
export GOROOT="$LOCAL_GO_DIR"
export PATH="$LOCAL_GO_DIR/bin:$PATH"
fi
# Download firmware if not cached.
if [ ! -f "$FIRMWARE_FILE" ]; then
echo "Downloading firmware ${FIRMWARE_VERSION} (~150MB)..."