You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wine: support both 32-bit and 64-bit Windows builds (Electron-Cash#3189)
* wine: Update gnupg2 to current version
* wine: support both 32-bit and 64-bit Windows builds
- Make `GCC_TRIPLET_HOST` configurable from environment
- Map architecture to Python installer paths (`amd64`/`win32`)
- Add SHA256 checksums for both 32-bit and 64-bit Python MSIs
- Configure OpenSSL target (`mingw64`/`mingw`) based on architecture
- Include architecture in output filenames (e.g. `Electron-Cash-4.2.2-x86_64.exe`)
The 64-bit Wine install with Visual Studio can cross-compile to both
x86 and x64 targets, so we only need a single build container.
I tested:
- All `ctypes` usages directly in the app.
- tor
- Ledger, Keepkey plugins
- zbar and zxing-cpp
mv $NAME_ROOT-setup.exe $NAME_ROOT-$VERSION-setup.exe || fail "Failed to move $NAME_ROOT-$VERSION-setup.exe to the output dist/ directory"
284
+
mv $NAME_ROOT-setup.exe $NAME_ROOT-$VERSION-$GCC_TRIPLET_HOST_ARCH-setup.exe || fail "Failed to move $NAME_ROOT-$VERSION-$GCC_TRIPLET_HOST_ARCH-setup.exe to the output dist/ directory"
# Caused by wrong delayed expansion in Wine, see https://bugs.winehq.org/show_bug.cgi?id=38289
118
-
RUN sed -i -e 's/!result:~0,3!/10./g'"${WINEPREFIX}"/"drive_c/Program Files/Microsoft Visual Studio/2019/BuildTools/Common7/Tools/vsdevcmd/core/winsdk.bat"
118
+
RUN sed -i -e 's/!result:~0,3!/10./g'"${WINEPREFIX}"/"drive_c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/Common7/Tools/vsdevcmd/core/winsdk.bat"
119
119
120
120
# Clean up some left overs only needed for the Visual Studio installer
0 commit comments