electron-builder: Built for arm64 on x64 doesn't mount

  • Electron-Builder Version: 23.0.3
  • Node Version: 16.4.2
  • Electron Version: 19.0.1
  • Electron Type (current, beta, nightly): current
  • Target: darwin + arm64

The dmg file built for arm64 (with --arm64 option) does not open on M1 chip laptops. Possible reason is here packages/dmg-builder/src/dmg.ts#L202 since to enable APFS, it checks if current process is running on arm64, not the option we passed. Then on laptops with M1, hdiutil cannot mount HFS filesystems.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15

Most upvoted comments

Sure thank you, please submit a pull request if you believe others can benefit from your fork 😃

I meant bigger enterprise like the one this issue is concerned must use Azure for CI/CD.