script for launching Play Palace added.

This commit is contained in:
Storm Dragon
2026-04-16 03:55:04 -04:00
parent 21baa27b83
commit b717337944

19
home/stormux/.playpalace Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
gameDir="$HOME/.local/games/PlayPalace11/clients/desktop"
hostPythonDir="$gameDir/.host-python"
if [[ ! -d "$gameDir" ]]; then
echo "Play Palace is not installed at $gameDir."
exit 1
fi
cd "$gameDir"
if [[ -d "$hostPythonDir" ]]; then
export PYTHONPATH="$hostPythonDir${PYTHONPATH:+:$PYTHONPATH}"
fi
exec uv run python client.py