Skip to main content
Version: 15.2.2

Building the application

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

# To build only
npm run build

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

# To build only
npm run build

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

# To build only
npm run build

# 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 deploy-win
  • MAC:
npm run deploy-mac
  • Linux:
npm run deploy-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?