Back to Super Productivity

Package the App

docs/wiki/2.12-Package-the-App.md

18.4.4754 B
Original Source

Package the App

How to build distributable packages (Electron) for Super Productivity.

Prerequisites

  • Development environment set up ([[2.11-Run-the-Development-Server]])
  • Node.js 20+

Build Packages

bash
npm run dist

This uses electron-builder and produces installers for the current platform (and others if configured).

Customize Platforms and Options

  • package.json: Edit the build property to add or remove platforms and options.
  • CLI: Use the electron-builder CLI for one-off builds (e.g. different architectures or formats).
  • [[2.11-Run-the-Development-Server]]
  • [[2.14-Build-for-Android]] (mobile build)