From 7b2fde37b9525de342ee1bd6ca712b8b26a6617c Mon Sep 17 00:00:00 2001 From: Daniel Perez Date: Sun, 15 Sep 2024 21:46:31 +0100 Subject: [PATCH] Add instruction about libusb to installer closes #19 --- scripts/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index 8bc080d..bb36731 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -104,6 +104,12 @@ main() { fi fi + if [ "$ECLAIR_PLATFORM" = "macos" ]; then + if which brew &>/dev/null; then + brew list libusb &>/dev/null || echo "libusb required but not found, run 'brew install libusb' after the installation to install it" + fi + fi + case $ECLAIR_VERSION in ""|latest) BASE_URL="$NIGHTLY_BASE_URL"