Create MacOS, Windows and Linux cross-platform applications with Electron packager.

By | 09/08/2018

I will use the example from my tutorial.
Install electron-packager:

You need to add and modify the scripts below into your package.json:

You can create this folders assets, icons, win, mac and png, see:

You need one icon file with this extension .png , .ico and .icns for each folder.
You can find many icons at iconarchive.com.
This is my package.json I used to build windows application.

Use this command to create the windows application:

The output windows application will be create into this folder:

If you need this application for mac, use:

For linux use this command:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.