Skip to content

Commit

Permalink
Suppress the usage of CopyFile2 for now (fixes #51)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiX committed Nov 13, 2023
1 parent 119822f commit 8331f9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8331f9e

Please # to comment.