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

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 these 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 created 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.