fix: boot ProjectCapture on Hytale 0.5.9

This commit is contained in:
2026-08-15 09:15:34 +02:00
parent c418e2f36c
commit d315308c2f
8 changed files with 112 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
project_root="$(CDPATH= cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd -P)"
runtime_root="${PROJECT_CAPTURE_DEV_SERVER:-$(CDPATH= cd -- "${project_root}/.." && pwd -P)/ProjectCapture-devserver}"
mods_directory="${runtime_root}/mods"
[[ -d "${mods_directory}" && ! -L "${mods_directory}" ]] || {
printf 'Isolierte Runtime fehlt; zuerst setup-isolated-dev-server.sh ausführen.\n' >&2
exit 1
}
"${project_root}/gradlew" -p "${project_root}" :hytale-adapter:installToDevMods \
-PprojectCapture.devModsDir="${mods_directory}"