generated: add (generated, scripts)

This commit is contained in:
luk
2026-01-25 21:28:40 +00:00
parent 3bdfaf38b4
commit 70291d69f1
5238 changed files with 655591 additions and 25 deletions

View File

@@ -1,11 +1,8 @@
#!/bin/bash
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
HYTALE_SERVER_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
PROJECT_ROOT="$(cd "$HYTALE_SERVER_ROOT/../.." && pwd)"
DOWNLOADER="$SCRIPT_DIR/hytale-downloader-linux-amd64"
OUTPUT_DIR="$HYTALE_SERVER_ROOT"
DOWNLOADER="vendor/hytale-server/scripts/hytale-downloader-linux-amd64"
OUTPUT_DIR="vendor/hytale-server"
if [ ! -f "$DOWNLOADER" ]; then
echo "Error: Downloader not found at $DOWNLOADER"
@@ -16,7 +13,6 @@ echo "[update-server] Creating output directory..."
mkdir -p "$OUTPUT_DIR"
echo "[update-server] Downloading Hytale server files..."
cd "$SCRIPT_DIR"
"$DOWNLOADER" -download-path "$OUTPUT_DIR/game.zip"
echo "[update-server] Extracting server files..."