feat: add flatpak support for linux (#6387)

Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
This commit is contained in:
BestCodes
2026-01-14 12:21:54 -06:00
committed by GitHub
parent eaa05f9636
commit 20b8cbd41b
10 changed files with 723 additions and 490 deletions
+17 -2
View File
@@ -138,8 +138,23 @@ If you see "Could not find goosed binary", ensure you've:
- The RPM maker is disabled by default as it's not compatible with Arch-based systems
- Use the ZIP distribution method for maximum compatibility
#### Flatpak/Snap
Building as Flatpak or Snap packages is not currently supported but may be added in the future.
#### Flatpak
Flatpak builds are supported via CI. To build locally:
```bash
# Install flatpak and flatpak-builder
sudo apt install flatpak flatpak-builder
# Add Flathub remote
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
# Build with Electron Forge
npm run make -- --targets=@electron-forge/maker-flatpak
```
Output: `out/make/flatpak/x86_64/*.flatpak`
#### Snap
Building as Snap packages is not currently supported but may be added in the future.
## Development Workflow