From 41d31e6a307134caab1c79ae6fae4d0ee528adc5 Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 29 Jun 2025 12:22:12 -0700 Subject: [PATCH] Add a new download path for "pre"? --- LinuxGeneralCompiler/dlvs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LinuxGeneralCompiler/dlvs.sh b/LinuxGeneralCompiler/dlvs.sh index d1f26bb..bc80951 100644 --- a/LinuxGeneralCompiler/dlvs.sh +++ b/LinuxGeneralCompiler/dlvs.sh @@ -12,6 +12,10 @@ download_game() { else url="https://cdn.vintagestory.at/gamefiles/stable/vs_server_linux-x64_${version}.tar.gz" fi + + if [[ $version == *"-pre"* ]]; then + url="https://cdn.vintagestory.at/gamefiles/pre/vs_server_linux-x64_${version}.tar.gz" + fi # Check if extract path already exists and is not empty if [ -d "$extract_path" ] && [ ! -z "$(ls -A "$extract_path")" ]; then