Skip to content

Commit

Permalink
Fix winetricks
Browse files Browse the repository at this point in the history
winetricks got left out when merging all the changes to the dockerfile from the recent merges
  • Loading branch information
ripps818 committed Feb 24, 2024
1 parent c8f463b commit 37569d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
GAME_BIN="/palworld/Pal/Binaries/Win64/PalServer-Win64-Test-Cmd.exe" \
WINE_BIN="/usr/bin/wine" \
WINETRICK_ON_START=true \
WINETRICK_BIN="/usr/local/bin/winetricks" \
WINEPREFIX=/home/steam/.wine \
WINEARCH=win64 \
WINEDEBUG=-all \
Expand Down Expand Up @@ -220,6 +221,10 @@ RUN dpkg --add-architecture i386 && \
apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y --install-recommends winehq-${WINE_BRANCH}

# Install winetricks
RUN wget -nv -O ${WINETRICK_BIN} https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \
&& chmod +x ${WINETRICK_BIN}

# Install Windows version of SteamCmd
ENV STEAMCMD_URL="http://media.steampowered.com/installer/steamcmd.zip"
RUN mkdir -p ${STEAMCMD_PATH}
Expand Down
2 changes: 1 addition & 1 deletion includes/server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function update_server() {

function winetricks_install() {
ei ">>> Installing Visual C++ Runtime 2022"
trickscmd=("/usr/bin/winetricks")
trickscmd=("${WINETRICK_BIN}")
trickscmd+=("--optout" "-f" "-q" "vcrun2022")
echo "${trickscmd[*]}"
"${trickscmd[@]}"
Expand Down

0 comments on commit 37569d1

Please sign in to comment.