Updating windows build to Qt 5.14.1

This commit is contained in:
Adsooi 2020-02-18 10:16:52 +01:00
parent 4bfd4cc8ec
commit 40cac8ddc0
3 changed files with 35 additions and 83 deletions

View file

@ -1,17 +1,16 @@
FROM ad5001/ubuntu-pyside2-xvfb-wine:win7-5.12.2
FROM ad5001/ubuntu-pyside2-xvfb-wine:win7-5.14.1
RUN apt-get update
# Installing tor to not get the popup
RUN apt install unzip nsis -y
RUN wget https://dist.torproject.org/torbrowser/9.0.1/tor-win32-0.4.1.6.zip
RUN unzip tor-win32-0.4.1.6.zip -x Data/*
# Installing tor to not get the popup
RUN wget https://dist.torproject.org/torbrowser/9.0.5/tor-win64-0.4.2.6.zip
RUN unzip tor-win64-0.4.2.6.zip -x Data/*
RUN mv Tor /wine/drive_c/
RUN wine reg ADD "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment" /v PATH /f /t REG_EXPAND_SZ /d "C:\windows\system32;C:\windows;C:\windows\system32\wbem;C:\Tor"
RUN rm tor-win32-0.4.1.6.zip
RUN rm tor-win64-0.4.2.6.zip
# Installing pyinstaller
RUN pip install pyinstaller
RUN echo 'wine '\''C:\Python36\Scripts\pyinstaller.exe'\'' "$@"' > /usr/bin/pyinstaller
RUN echo 'wine '\''C:\Python37\Scripts\pyinstaller.exe'\'' "$@"' > /usr/bin/pyinstaller
RUN chmod +x /usr/bin/pyinstaller
# Installing dependencies