Перейти к основному содержанию

Инструкции по сборке (macOS)

Follow the guidelines below for building Electron itself on macOS, for the purposes of creating custom Electron binaries. For bundling and distributing your app code with the prebuilt Electron binaries, see the application distribution guide.

Требования

  • macOS >= 11.6.0
  • Xcode. The exact version needed depends on what branch you are building, but the latest version of Xcode is generally a good bet for building main.
  • node.js (внешнее)
  • Python >= 3.7

Собираем Electron

See Build Instructions: GN.