Skip to content

Commit e3be308

Browse files
committed
Cleanup
1 parent c62772d commit e3be308

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ ENV AUTOSAVENUM="5" \
2222
SKIPUPDATE="false" \
2323
STEAMAPPID="1690800" \
2424
STEAMBETA="false" \
25+
STEAMBETAID="" \
26+
STEAMBETAKEY="" \
2527
TIMEOUT="30" \
2628
VMOVERRIDE="false"
2729

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ helm install satisfactory k8s-at-home/satisfactory -f values.yaml
172172
| `SERVERSTREAMING` | `true` | toggle whether the game utilizes asset streaming |
173173
| `SKIPUPDATE` | `false` | avoid updating the game on container start/restart |
174174
| `STEAMBETA` | `false` | set experimental game version |
175-
| `STEAMBETAID` | `tech-su` | set a custom beta game version |
176-
| `STEAMBETAKEY` | `passwd` | set password for the beta game version |
175+
| `STEAMBETAID` | | set a custom beta game version (for testing) |
176+
| `STEAMBETAKEY` | | set password for the beta game version (for testing) |
177177
| `TIMEOUT` | `30` | set client timeout (in seconds) |
178178
| `VMOVERRIDE` | `false` | skips the CPU model check (should not ordinarily be used) |
179179

@@ -190,8 +190,8 @@ community [here](https://docs.ficsit.app/satisfactory-modding/latest/ForUsers/De
190190

191191
The container does **NOT** have an S/FTP server installed directly, as Docker images are intended to carry a single
192192
function/process. You can either SFTP into your host that houses the Satisfactory server (trivial to do if you're
193-
running Linux), or alternatively you can spin up an S/FTP server through the use of another Docker container using the
194-
Docker Compose example listed below:
193+
running Linux), or you can spin up an S/FTP server through the use of another Docker container using the Docker Compose
194+
example listed below:
195195

196196
```yaml
197197
services:

run.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,13 @@ if [[ "${SKIPUPDATE,,}" != "false" ]] && [ ! -f "/config/gamefiles/FactoryServer
107107
fi
108108

109109
if [[ "${SKIPUPDATE,,}" != "true" ]]; then
110-
BETAPASSWORD=""
110+
STEAMBETAPASSWORD=""
111+
111112
if [[ -n "${STEAMBETAID}" ]]; then
112113
printf "STEAMBETAID is set. Using beta ID: %s\\n" "$STEAMBETAID"
113114
STEAMBETAFLAG="$STEAMBETAID"
114115
if [[ -n "${STEAMBETAKEY}" ]]; then
115-
BETAPASSWORD="-betapassword $STEAMBETAKEY"
116+
STEAMBETAPASSWORD="-betapassword $STEAMBETAKEY"
116117
printf "Beta password provided\\n"
117118
fi
118119
elif [[ "${STEAMBETA,,}" == "true" ]]; then
@@ -135,7 +136,7 @@ if [[ "${SKIPUPDATE,,}" != "true" ]]; then
135136
printf "\\nRemoving the app manifest to force Steam to check for an update...\\n"
136137
rm "/config/gamefiles/steamapps/appmanifest_1690800.acf" || true
137138
fi
138-
steamcmd +force_install_dir /config/gamefiles +login anonymous +app_update "$STEAMAPPID" -beta "$STEAMBETAFLAG" $BETAPASSWORD validate +quit
139+
steamcmd +force_install_dir /config/gamefiles +login anonymous +app_update "$STEAMAPPID" -beta "$STEAMBETAFLAG" $STEAMBETAPASSWORD validate +quit
139140
cp -r /home/steam/.steam/steam/logs/* "/config/logs/steam" || printf "Failed to store Steam logs\\n"
140141
else
141142
printf "Skipping update as flag is set\\n"

0 commit comments

Comments
 (0)