mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 20:11:08 +00:00
On ubuntu-24.04-arm runners, electron-builder's post-build @electron/rebuild incorrectly tries to restore native modules to x64 architecture. The ARM64 g++ compiler doesn't support the -m64 flag, causing the build to fail. Setting npm_config_arch=arm64 ensures node-gyp correctly identifies the host architecture, preventing the erroneous x64 rebuild.