#!/usr/bin/env bash set -e echo "=== Building BoxedMan for Linux (Ubuntu / Linux Mint) ===" # Check Python environment if [ ! -d ".venv" ]; then echo "Creating virtual environment..." python3 -m venv .venv fi source .venv/bin/activate pip install --upgrade pip pip install -r requirements.txt pip install pyinstaller echo "Running PyInstaller..." pyinstaller boxedman.spec --noconfirm --clean echo "" echo "=== Build successful! Binary location: dist/BoxedMan/BoxedMan ==="