From fac2c62c18120a5835fd446de0766c6bdece70c4 Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 29 Jun 2025 10:25:44 -0700 Subject: [PATCH] Make some sane defaults --- LinuxGeneralCompiler/Dockerfile | 2 +- LinuxGeneralCompiler/mkdotgame | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/LinuxGeneralCompiler/Dockerfile b/LinuxGeneralCompiler/Dockerfile index 7c369ce..007270b 100644 --- a/LinuxGeneralCompiler/Dockerfile +++ b/LinuxGeneralCompiler/Dockerfile @@ -2,7 +2,7 @@ FROM git.zontreck.com/packages/appimage:latest ENV PUB NAN ENV AGENT NAN -ENV VSAPI 1 +ENV VSAPI 1.20.12 LABEL VINTAGESTORY API is available WORKDIR / diff --git a/LinuxGeneralCompiler/mkdotgame b/LinuxGeneralCompiler/mkdotgame index f182f01..8203543 100755 --- a/LinuxGeneralCompiler/mkdotgame +++ b/LinuxGeneralCompiler/mkdotgame @@ -1,7 +1,12 @@ #!/bin/bash # +VERSION=$VSAPI # predetermined version -local version=$1 +if [ -z "$1" ]; then + local version=$VERSION +else + local version=$1 +fi rm .game || true dlvs $version || true