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
It suggests using brew to install wine, then editing a package called rcedit to rename wine to wine64. In short, there is a way to make this work. The problem with the workaround from a cordova-electron perspective is that the package doesn't actually get installed anywhere coming from cordova-electron, and I can't work out where this rcedit package fits in the schema of things to file a report elsewhere.
Anyway, back to the core of this issue, it seems possible to build win64 binaries from MacOS and so it seems surprising to me that I can't build those binaries when I could on an earlier mac.
So here's this ticket, where I hope cordova-electron can pursue MacOS win64 builds, even if that simply means identifying the upstream packages and having the community advocate with them. I'm happy to play my part if I can determine how it all fits together.
Bug Report
Problem
I'm running MacOS Big Sur, and the windows platform within electron doesn't build.
What is expected to happen?
I expect a 64 bit windows binary to be built. I know MacOS Catalina and greater can't build 32 bit binaries.
What does actually happen?
I get an error message:
bad CPU type in executable
Information
I understand there's a bit of history or dependency to this issue:
Some concrete information on the issue from upstream:
A workaround:
A solution that is floated around on most of those issues above is summarised well here:
electron/node-rcedit#51 (comment)
It suggests using brew to install wine, then editing a package called
rcedit
to renamewine
towine64
. In short, there is a way to make this work. The problem with the workaround from a cordova-electron perspective is that the package doesn't actually get installed anywhere coming fromcordova-electron
, and I can't work out where this rcedit package fits in the schema of things to file a report elsewhere.Anyway, back to the core of this issue, it seems possible to build win64 binaries from MacOS and so it seems surprising to me that I can't build those binaries when I could on an earlier mac.
So here's this ticket, where I hope cordova-electron can pursue MacOS win64 builds, even if that simply means identifying the upstream packages and having the community advocate with them. I'm happy to play my part if I can determine how it all fits together.
Command or Code
Environment, Platform, Device
Version information
wine64 --version
reportswine-5.0
Checklist
Thanks for the project, and thanks in advance for your help.
The text was updated successfully, but these errors were encountered: