Hack for wine 10 with broken wineboot --init
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-02-20 19:39:56 +01:00
parent 4aa89e2604
commit 8ae5b01503

View File

@@ -70,13 +70,15 @@ RUN set -x -e; \
export PATH=/opt/wine-stable/bin:$PATH; \
# Install dotnet
entrypoint wineboot --init; \
# HACK for Wine 10 bug where the previous ends with "run_wineboot boot event wait timed out"
kill `pgrep rundll32`; \
kill `pgrep control.exe`; \
entrypoint wineboot --init; \
# get latest version and its hash from https://dotnet.microsoft.com/en-us/download/dotnet
wget -nv https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.200/dotnet-sdk-9.0.200-win-x86.exe --no-check-certificate -O /tmp/dotnet.exe; \
echo 3ddeb620fc45c623ade58f179e80cea64b7af5b76b0b4b1f65b766df3c5614ce04809f40614ebeb98dd6b4662dc1c2bed38d1f78eadc489360d54e35b98b9904 /tmp/dotnet.exe > /tmp/chk; \
sha512sum -c /tmp/chk; \
while pgrep Xvfb >/dev/null; do echo "Waiting for wineserver"; sleep 1; done; \
sleep 10; \
while pgrep wineserver >/dev/null; do echo "Waiting for wineserver to complete"; sleep 1; done; \
winetricks comctl32; \
while true; do \
if timeout 30m wine z:\\tmp\\dotnet.exe /q; then \