Organize files into categories. Likely still a bit of cleanup left to do.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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
|
||||
Reference in New Issue
Block a user