Skip to content

Commit

Permalink
corefonts workaround and update setup link
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Dec 12, 2023
1 parent 9a15e90 commit a8e0750
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,24 @@ RUN apt-get update \
&& apt autoremove -y --purge \
&& apt clean -y && rm -rf /var/lib/apt/lists/*

RUN su - $WINE_USER -c 'wineboot -i' \
&& su - $WINE_USER -c 'winetricks -q corefonts calibri tahoma' \
&& su - $WINE_USER -c 'taskset -c 0 winetricks -f -q dotnet48' \
&& su - $WINE_USER -c 'winetricks win7 sound=alsa ddr=gdi'\
&& su - $WINE_USER -c 'winetricks renderer=gdi'\
&& su - $WINE_USER -c 'wineboot -s' \
USER wine

RUN wineboot -i \
&& for f in arial32 times32 trebuc32 verdan32; do \
curl -fL --output-dir /home/wine/.cache/winetricks/corefonts --create-dirs\
-O https://web.archive.org/web/20180219204401/https://mirrors.kernel.org/gentoo/distfiles/$f.exe; done\
&& winetricks -q corefonts calibri tahoma \
&& taskset -c 0 winetricks -f -q dotnet48 \
&& winetricks win7 sound=alsa ddr=gdi \
&& winetricks renderer=gdi \
&& wineboot -s \
&& rm -rf /home/wine/.cache

ENV WINEDEBUG -all,err+all,warn+chain,warn+cryptnet

COPY extra/mtgo.sh /usr/local/bin/mtgo

ADD --chown=wine:wine https://mtgo.patch.daybreakgames.com/patch/mtg/live/client/setup.exe?v=7 /opt/mtgo/mtgo.exe
ADD --chown=wine:wine https://mtgo.patch.daybreakgames.com/patch/mtg/live/client/setup.exe?v=8 /opt/mtgo/mtgo.exe

USER wine

Expand Down

0 comments on commit a8e0750

Please sign in to comment.