Skip to main content
Version: 9.3.1

Building the application

For Windows
conda activate env-electron-python
npm run python-onefile-build

# To build only
npm run build-win

# To build and publish
npm run deploy-win
For macOS
conda activate env-electron-python
npm run python-onefile-build

# To build only
npm run build-mac

# To build and publish
npm run deploy-mac
For Linux
conda activate env-electron-python
npm run python-onefile-build

# To build only
npm run build-linux

# To build and publish
npm run deploy-linux

Package electron app

You can use the predefined build script to create a release for the app.

  • Windows:
npm run build-win
  • MAC:
npm run build-mac
  • Linux:
npm run build-linux

If there are any errors, please check your build settings in the package.json. For more information regarding the build process and all the possible configuration options please refer to electron-builder documentation.

Was this page helpful?