Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.29 KB

File metadata and controls

47 lines (35 loc) · 1.29 KB
description
Create a package for Debian-based Linux distributions for your Electron app, using Electron Forge.

deb

The deb target builds .deb packages, which are the standard package format for Debian-based Linux distributions such as Ubuntu.

Requirements

You can only build the deb target on Linux or macOS machines with the fakeroot and dpkg packages installed.

Installation

npm install --save-dev @electron-forge/maker-deb

Usage

To use @electron-forge/maker-deb, add it to the makers array in your Forge configuration:

{% code title="forge.config.js" %}

module.exports = {
  makers: [
    {
      name: '@electron-forge/maker-deb',
      config: {
        options: {
          maintainer: 'Joe Bloggs',
          homepage: 'https://example.com'
        }
      }
    }
  ]
};

{% endcode %}

Configuration options are documented in MakerDebConfig.

Debugging

For advanced debug logging for this maker, add the DEBUG=electron-installer-deb* environment variable.