From 428e433e1e4b43b477c5e1ee60a301df1ba7b1aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Dahlgren?= Date: Mon, 30 Oct 2023 10:59:26 +0100 Subject: [PATCH] feat: Configurable Steam AppID --- Dockerfile | 1 + README.md | 4 ++++ launch.py | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d122524..e5b3a84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ ENV TRACY_NO_INVARIANT_CHECK=1 ENV STEAM_USER="" ENV STEAM_PASSWORD="" +ENV STEAM_APPID="1874900" ENV STEAM_BRANCH="public" ENV STEAM_BRANCH_PASSWORD="" diff --git a/README.md b/README.md index 8729893..0946ab2 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,7 @@ Check [the Dockerfile](Dockerfile#L32-L64), more docs will come later. By default the configs are generated from the ENV variables in the dockerfile. After the first run the file can be expanded with additional options manually, but the fields will always be overwritten by the ENV variables. Alternatively, change the `ARMA_CONFIG` variable to a file present in the `Configs` volume. It will be used without modification. + +### Experimental server + +To use the experimental server instead of the regular set `STEAM_APPID` variable to `1890870`. diff --git a/launch.py b/launch.py index 38e83ed..d25944b 100644 --- a/launch.py +++ b/launch.py @@ -32,7 +32,7 @@ def bool_str(text): ) else: steamcmd.extend(["+login", "anonymous"]) - steamcmd.extend(["+app_update", "1874900"]) + steamcmd.extend(["+app_update", os.environ["STEAM_APPID"]]) if env_defined("STEAM_BRANCH"): steamcmd.extend(["-beta", os.environ["STEAM_BRANCH"]]) if env_defined("STEAM_BRANCH_PASSWORD"):