Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Distributing

bvhpatel edited this page Feb 19, 2020 · 3 revisions

The previous packaging step would generate folder for the program which contains an executable to run the application. If you desire to generate installers, we suggest the following method:

Windows:

MAC:

{
  "title": "SODA",
  "icon": "/path/to/mac-icon.icns",
  "background-color": "#DFDFDF",
  "contents": [
    { "x": 448, "y": 344, "type": "link", "path": "/Applications" },
    { "x": 192, "y": 344, "type": "file", "path": "SODA.app" }
  ]
}

Linux:

Creating Debian Installer – https://github.com/electron-userland/electron-installer-debian

  • $ npm install -g electron-installer-debian
  • $ electron-installer-debian --src path/to/SODA-linux-x64/ --arch amd64 --config debian.json
  • Specification of JSON file (debian.json) –
{
  "dest": "release-builds/",
  "icon": "SODA/src/assets/app-icon/png/soda_icon.png",
  "categories": [
    "Utility"
  ]
}
Clone this wiki locally