Files
linux-game-manager/.launch/Play Palace.game
2026-02-22 06:30:55 -05:00

19 lines
535 B
Plaintext

check_dependencies uv
# shellcheck disable=SC2154 # set by linux-game-manager.sh
gamePath="${installPath}/PlayPalace11/clients"
desktopPath="${gamePath}/desktop"
hostPythonDir="${desktopPath}/.host-python"
if ! [[ -d "${desktopPath}" ]]; then
ui_msgbox "Linux Game Manager" "Linux Game Manager" "Play Palace is not installed at ${desktopPath}."
exit 1
fi
if [[ -d "${hostPythonDir}" ]]; then
export PYTHONPATH="${hostPythonDir}${PYTHONPATH:+:${PYTHONPATH}}"
fi
pushd "${desktopPath}" || exit 1
uv run python client.py