Fix clogged up git operations.

This commit is contained in:
Greyson Parrelli
2026-08-27 13:32:47 -04:00
parent 2e3af19d00
commit d7452c2262
9 changed files with 315 additions and 51 deletions
+8 -1
View File
@@ -232,7 +232,14 @@ export __EGL_VENDOR_LIBRARY_DIRS="$eglvendor"
export LIBGL_DRIVERS_PATH="$dridrivers"
export GBM_BACKENDS_PATH="$gbmbackends"
exec "$libexec/playpen" "\$@"
# Warnings — a git invocation that timed out, a review server that could not
# listen — are the only account of why a review pane is behaving oddly, and a
# desktop launcher gives the app no terminal to print them to. Truncated per
# launch rather than appended, so this stays a log of the session you are in
# and never grows without bound.
log="\${XDG_STATE_HOME:-\$HOME/.local/state}/playpen"
mkdir -p "\$log"
exec "$libexec/playpen" "\$@" 2>"\$log/playpen.log"
EOF
chmod 755 "$bindir/playpen"