#!/usr/bin/env bash set -euo pipefail echo "=== Building AutoFax Executable ===" # Create/use venv if [ ! -d "venv" ]; then python3 -m venv venv fi source venv/bin/activate pip install -q pyinstaller requests python-dotenv echo "Building..." pyinstaller --onefile --windowed --name AutoFax gui.py echo "" echo "=== Build successful! ===" echo "Executable: dist/AutoFax"