From 43e7f6a32f624d77351757f8e7afacf9c95e6e5c Mon Sep 17 00:00:00 2001 From: Twig6943 <119701717+Twig6943@users.noreply.github.com> Date: Thu, 26 Mar 2026 01:15:39 +0300 Subject: [PATCH] Update entrypoint.sh --- docker/dedicated-server/entrypoint.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docker/dedicated-server/entrypoint.sh b/docker/dedicated-server/entrypoint.sh index 8d5a8a29f..b2b1fbe36 100644 --- a/docker/dedicated-server/entrypoint.sh +++ b/docker/dedicated-server/entrypoint.sh @@ -29,7 +29,6 @@ ensure_persist_file() { ln -sfn "${persist_path}" "${runtime_path}" } - if [ ! -d "$SERVER_DIR" ]; then echo "[error] Server directory not found: $SERVER_DIR" >&2 exit 1 @@ -58,9 +57,6 @@ if [ -e "Windows64/GameHDD" ] && [ ! -L "Windows64/GameHDD" ]; then fi ln -sfn "${PERSIST_DIR}/GameHDD" "Windows64/GameHDD" -# do umu-run stuff - - if [ ! -d "${WINEPREFIX}" ] || [ -z "$(ls -A "${WINEPREFIX}" 2>/dev/null)" ]; then mkdir -p "${WINEPREFIX}" fi @@ -71,4 +67,4 @@ args=( ) echo "[info] Starting ${SERVER_EXE} on ${SERVER_BIND_IP}:${SERVER_PORT}" -exec "${WINE_CMD}" "${SERVER_EXE}" "${args[@]}" +exec "umu-run" "${SERVER_EXE}" "${args[@]}"