Skip to content

Commit

Permalink
Added StationeersMods as a plugin version 1.0.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnVidler committed Sep 8, 2024
1 parent 4dd01b6 commit b990523
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ ENV STEAM_APP_PATH="${STEAM_APP_PATH}"
# BepInEx Mod Extra Stuff! Do not include the preceeding 'v' in the version
ARG MOD_BEPINEX_VERSION="5.4.23.2"
ENV MOD_BEPINEX_VERSION="${MOD_BEPINEX_VERSION}"
ARG MOD_STATIONEERSMODS_VERSION="1.0.24.0"
ENV MOD_STATIONEERSMODS_VERSION="${MOD_STATIONEERSMODS_VERSION}"


# Stationeers requires a different version of libstdc++ and libc to actually work, so we roll this back
USER root
Expand Down
8 changes: 8 additions & 0 deletions launch.d/10-bepinex
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ if [ ! -f BepInEx/config/BepInEx.cfg ]; then
unzip "BepInEx_linux_x64_${MOD_BEPINEX_VERSION}.zip"
fi

pushd "BepInEx/plugins"
if [ ! -f StationeersMods.zip ]; then
echo "Downloading StationeersMods version ${MOD_STATIONEERSMODS_VERSION}"
curl -LO "https://github.com/jixxed/StationeersMods/releases/download/v${MOD_STATIONEERSMODS_VERSION}/StationeersMods.zip"
unzip "StationeersMods.zip"
fi
popd

# Update the runner script to have our executable
sed -i 's/^executable_name=""$/executable_name="rocketstation_DedicatedServer.x86_64"/' run_bepinex.sh
chmod u+x run_bepinex.sh
Expand Down

0 comments on commit b990523

Please sign in to comment.