✈️Build the Application for platforms
Now you can use this customized application to build applications macOS, Windows and Linux platforms.
macOS User – Can build macOS, Windows, and Linux versions of your application.
Windows User – Can only build Windows and Linux versions only.
macOS
Only 64-bit binaries are provided for macOS. The minimum macOS version supported is macOS 10.10 (Yosemite).
Windows
Windows 7 and later are supported. Older operating systems are not supported (and do not work).
Linux
The prebuilt ia32 (i686) and x64 (amd64) binaries of Electron are built on Ubuntu 12.04, the armv7l binary is built against ARM v7 with hard-float ABI and NEON for Debian Wheezy.
First, you need to install electron-builder package locally on the project folder:
$ npm i electron-builder -g
To build all platform :
$ electron-builder -mwl
To build the macOS platform:
$ electron-builder --mac
To build the Windows platform:
$ electron-builder --win
To build the Linux platform:
$ electron-builder --linux
Built output applications are located in the newly created directory called “dist” which is inside your application directory.
Last updated