#!/bin/bash # One-time setup for the macOS daemon. Safe to re-run. set -e cd "$(dirname "$0")" command -v brew >/dev/null || { echo "Homebrew required: https://brew.sh"; exit 1; } brew list libusb >/dev/null 2>&1 || brew install libusb python3 -m venv venv ./venv/bin/pip install --quiet --upgrade pip ./venv/bin/pip install --quiet pyusb pillow segno pyserial echo ./venv/bin/python urovo.py && echo "OK -- run ./start-daemon.command"