We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
electron-builder has native AppImage generation, and there is a electron-builder appimage target for electron-forge. For Electron Packager and please see https://github.com/electron-userland/electron-builder#pack-only-in-a-distributable-format.
Don't forget to set a window icon (which will also be used for the Dock) with
win = new BrowserWindow({ ... icon: path.join(__dirname, '/icon/Icon-512x512.png') })
Some distributions, e.g., Debian, don't set sysctl kernel.unprivileged_userns_clone=1 by default. Here is a workaround:
sysctl kernel.unprivileged_userns_clone=1
https://github.com/probonopd/nativefier-test/blob/e38bc4b39def3c27046de512e24a220bb9c3ced2/nativefier.bash#L41-L52
We'd be happy to hear whether there are better solutions.