Closed jbair06 closed 2 days ago
I was able to resolve the problem by changing the version of electron-builder to 25.1.8. I also needed to install python-setuptools (brew install python-setuptools). Part of the issue seemed to be that electron-builder wasn't building both versions of the argon2 dependency (and perhaps others).
After updating electron-builder, I could no longer build the app at all. The errors I was seeing appeared to indicate that the version of python that node-gyp was using in order to build the cross architecture dependencies was missing the distutils module. After installing python-setuptools, I was able to build a working app.
I don't know if the resulting app has any other issues.
Description
When creating the assets (.app, .dmg, or .pkg) for the application from an arm64 architecture for an x64 architecture, the resulting app does not run. And error indicating that the argon2 dependency inside the application is of type arm64, but the app is looking for the x64 build of the dependency.
Steps to reproduce
Additional context
Hedera network
other
Version
v0.4.1
Operating system
macOS