agracio / electron-edge-js

Run .NET and Node.js code in-process on Windows, MacOS, and Linux
MIT License
354 stars 92 forks source link

Added preprocessor check for arch64 into the GetOSArchitecture function #151

Closed georgiancamarasan closed 10 months ago

georgiancamarasan commented 1 year ago

On M2 MAC, GetOSArchitecture does not return anything, so the library fails silently. It works by adding the aarch64 definition to the check.