From 8331f9e79a0610a6fc881ac10d2787d7c9182ac5 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Mon, 13 Nov 2023 01:42:22 +0100 Subject: [PATCH] Suppress the usage of CopyFile2 for now (fixes #51) --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 5f59ea5..1dabc9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,7 @@ RUN umask 0 && cd /tmp/helper && \ wine python-${PYTHON_VERSION}-amd64.exe /quiet TargetDir=C:\\Python \ Include_doc=0 InstallAllUsers=1 PrependPath=1; \ wineserver -w" && \ + sed -i 's/"CopyFile2"/"CopyFile2_xx_invalid_disabled"/' /opt/wineprefix/drive_c/Python/Lib/shutil.py && \ unzip upx*.zip && \ mv -v upx*/upx.exe ${WINEPREFIX}/drive_c/windows/ && \ cd .. && rm -Rf helper