Alpha stage commit

This commit is contained in:
2026-07-01 23:29:51 +02:00
parent b583bb1233
commit e23387738b
84 changed files with 40807 additions and 326 deletions

22
scripts/host_tool.sh Normal file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -euo pipefail
if [ "$#" -lt 1 ]; then
echo "usage: scripts/host_tool.sh TOOL [ARG...]" >&2
exit 64
fi
TOOL=$1
shift
if command -v "$TOOL" >/dev/null 2>&1; then
exec "$TOOL" "$@"
fi
if [ -f /.flatpak-info ] && command -v flatpak-spawn >/dev/null 2>&1; then
exec flatpak-spawn --host "$TOOL" "$@"
fi
echo "required tool not found: $TOOL" >&2
echo "Install it on the host, or run from a terminal where $TOOL is on PATH." >&2
exit 127