Flatpak
Create a Flatpak app for your Electron app using Electron Forge.
The Flatpak target builds .flatpak
files, which is a packaging format for Linux distributions that allows for sandboxed installation of applications in isolation from the rest of their system. In contrast, typical deb or RPM installation methods are not sandboxed.
Requirements
You can only build the Flatpak target if you have flatpak
, flatpak-builder
, and eu-strip
(usually part of the elfutils
package) installed on your system.
Installation
Usage
To use @electron-forge/maker-flatpak
, add it to the makers
array in your Forge configuration:
Configuration options are documented in MakerFlatpakConfig
.
Debugging
For advanced debug logging for this maker, add the DEBUG=electron-installer-flatpak*
environment variable.
Last updated