Fixed speech-dispatcher library in Play Palace.

This commit is contained in:
Storm Dragon
2026-02-22 06:30:55 -05:00
parent 1f7858e1fa
commit c86edee113
4 changed files with 46 additions and 48 deletions

View File

@@ -1,17 +1,17 @@
check_dependencies uv
# shellcheck disable=SC2154 # installPath is exported by linux-game-manager.sh
# shellcheck disable=SC2154 # set by linux-game-manager.sh
gamePath="${installPath}/PlayPalace11/clients"
desktopPath="${gamePath}/desktop"
hostLibDir="${desktopPath}/.host-libs"
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 "${hostLibDir}" ]]; then
export LD_LIBRARY_PATH="${hostLibDir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
if [[ -d "${hostPythonDir}" ]]; then
export PYTHONPATH="${hostPythonDir}${PYTHONPATH:+:${PYTHONPATH}}"
fi
pushd "${desktopPath}" || exit 1