Codex skill for development added. Tested by using it to set up Play Palace.
This commit is contained in:
18
.launch/Play Palace.game
Normal file
18
.launch/Play Palace.game
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
Reference in New Issue
Block a user