From b717337944cc388cf48546e7d8cfc33a744f73c1 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 16 Apr 2026 03:55:04 -0400 Subject: [PATCH] script for launching Play Palace added. --- home/stormux/.playpalace | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 home/stormux/.playpalace diff --git a/home/stormux/.playpalace b/home/stormux/.playpalace new file mode 100755 index 0000000..8a5733e --- /dev/null +++ b/home/stormux/.playpalace @@ -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