#!/usr/bin/env bash # build.sh - builds dist/gitdesk with PyInstaller. The real work is done by build.py; # everything is logged to build.log. cd "$(dirname "$0")" || exit 1 PY=$(command -v python3 || command -v python || true) [[ -n $PY ]] || { echo "Python 3 wasn't found. Install it first."; exit 1; } exec "$PY" build.py "$@"