fix: boot ProjectCapture on Hytale 0.5.9
This commit is contained in:
Executable
+14
@@ -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}"
|
||||
Reference in New Issue
Block a user