#!/usr/bin/env bash
# Build a double-click Sulcora app. Run from the repo root inside the venv.
set -euo pipefail
python -m pip install -e ".[gui,sample]" pyinstaller
cd packaging
pyinstaller sulcora.spec --noconfirm --clean
echo
echo "Built:"
echo "  macOS:   packaging/dist/Sulcora.app   (drag to /Applications; or make a .dmg)"
echo "  Windows: packaging/dist/Sulcora/Sulcora.exe"
echo "  Linux:   packaging/dist/Sulcora/Sulcora"
