Files
linux-game-manager/.launch/Play Palace.game

19 lines
559 B
Plaintext

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