Make some sane defaults
This commit is contained in:
parent
6a235366e5
commit
fac2c62c18
2 changed files with 7 additions and 2 deletions
|
@ -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 /
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue