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