Create a Flatpak app for your Electron app using Electron Forge.
The Flatpak target builds
.flatpakfiles, 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.
You can only build the Flatpak target if you have
eu-strip(usually part of the
elfutilspackage) installed on your system.