bytenode/bytenode

feat: Accept path to Electron as a compile argument

jjeff opened this issue · 0 comments

jjeff commented

Problem:
In order to create Universal apps on macOS, we need to be able to build both x64 and arm64 binaries on the same machine. This can be done using Rosetta to run an x64 binary on an arm64 machine. However, Bytenode currently just finds the current Electron from the node_modules folder.

Solution:
Allow a new argument of electronPath to give the path to the Electron executable to "run as Node" and build the Bytenode files.