Files
GitDesk/build.sh
T
2026-11-06 00:18:31 -08:00

8 lines
330 B
Bash

#!/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 "$@"