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
Whenever I'm creating a build on my local machine (macOS 10.13.5, electron-builder 20.8.2 - 20.15.0) I get the unpacked folders and the nsis installer for ia32 and x64 which I can run as expected on windows. So far so good. (Can't upgrade to 20.16.0 due to #3039)
If I try to create the build on the CI system (circle ci, docker with builder:wine-mono as well as macOS) the 64bit binary is always broken and results in %1 is not a valid Win32 application.
I have checked the timestamps of the prebuilt binaries and interestingly they are the same in the installed app even though the 64bit has actually been built 6 minutes later. Leading me to the assumption that the 32 bit binary is used for both.
I investigated this further on the CI system and found out that all the files are correct during the first step:
• rebuilding native production dependencies platform=win32 arch=x64
[...]
> @paulcbetts/[email protected] install /Users/distiller/wp-desktop/node_modules/@paulcbetts/spellchecker
> prebuild-install --verbose || node-gyp rebuild
prebuild-install info begin Prebuild-install version 2.5.3
prebuild-install info looking for local prebuild @ prebuilds/spellchecker-v4.0.6-electron-v54-win32-x64.tar.gz
prebuild-install info looking for cached prebuild @ /Users/distiller/.npm/_prebuilds/https-jackfan.us.kg-ssbc-paulcbetts-spellchecker-prebuilt-releases-download-v4.0.6-spellchecker-v4.0.6-electron-v54-win32-x64.tar.gz
prebuild-install info found cached prebuild
prebuild-install info unpacking @ /Users/distiller/.npm/_prebuilds/https-jackfan.us.kg-ssbc-paulcbetts-spellchecker-prebuilt-releases-download-v4.0.6-spellchecker-v4.0.6-electron-v54-win32-x64.tar.gz
prebuild-install info unpack resolved to /Users/distiller/wp-desktop/node_modules/@paulcbetts/spellchecker/build/Release/spellchecker.node
prebuild-install info install Successfully installed prebuilt binary!
The spellchecker.node is the 64bit binary (timestamp 19:56:42 indicates this)
-rw-r--r-- 2 distiller staff 482816 Dec 10 19:56:42 2017 release/win-unpacked/resources/app/node_modules/@paulcbetts/spellchecker/build/Release/spellchecker.node
However, when it comes to creating the 32bit version
• rebuilding native production dependencies platform=win32 arch=ia32
[...]
> @paulcbetts/[email protected] install /Users/distiller/wp-desktop/node_modules/@paulcbetts/spellchecker
> prebuild-install --verbose || node-gyp rebuild
prebuild-install info begin Prebuild-install version 2.5.3
prebuild-install info looking for local prebuild @ prebuilds/spellchecker-v4.0.6-electron-v54-win32-x64.tar.gz
prebuild-install info looking for cached prebuild @ /Users/distiller/.npm/_prebuilds/https-jackfan.us.kg-ssbc-paulcbetts-spellchecker-prebuilt-releases-download-v4.0.6-spellchecker-v4.0.6-electron-v54-win32-x64.tar.gz
prebuild-install info found cached prebuild
prebuild-install info unpacking @ /Users/distiller/.npm/_prebuilds/https-jackfan.us.kg-ssbc-paulcbetts-spellchecker-prebuilt-releases-download-v4.0.6-spellchecker-v4.0.6-electron-v54-win32-x64.tar.gz
prebuild-install info unpack resolved to /Users/distiller/wp-desktop/node_modules/@paulcbetts/spellchecker/build/Release/spellchecker.node
prebuild-install info install Successfully installed prebuilt binary!
The spellchecker.node in win-unpacked gets overridden with the 32bit binary (again look at the timestamp)
-rw-r--r-- 2 distiller staff 400384 Dec 10 19:50:23 2017 release/win-unpacked/resources/app/node_modules/@paulcbetts/spellchecker/build/Release/spellchecker.node
I tried to manually copy the 64bit spellchecker.node to win-unpacked and the app started working.
I'm currently dealing with a weird issue with prebuilt binaries for spellchecker on windows for quite some time now using https://github.com/ssbc/electron-spellchecker-prebuilt
Whenever I'm creating a build on my local machine (macOS 10.13.5, electron-builder 20.8.2 - 20.15.0) I get the unpacked folders and the nsis installer for ia32 and x64 which I can run as expected on windows. So far so good. (Can't upgrade to 20.16.0 due to #3039)
If I try to create the build on the CI system (circle ci, docker with builder:wine-mono as well as macOS) the 64bit binary is always broken and results in
%1 is not a valid Win32 application
.I have checked the timestamps of the prebuilt binaries and interestingly they are the same in the installed app even though the 64bit has actually been built 6 minutes later. Leading me to the assumption that the 32 bit binary is used for both.
I investigated this further on the CI system and found out that all the files are correct during the first step:
The spellchecker.node is the 64bit binary (timestamp 19:56:42 indicates this)
However, when it comes to creating the 32bit version
The spellchecker.node in
win-unpacked
gets overridden with the 32bit binary (again look at the timestamp)I tried to manually copy the 64bit spellchecker.node to win-unpacked and the app started working.
Build logs
The text was updated successfully, but these errors were encountered: