What's the Latest way to distribute as Flatpak? #14863
Replies: 2 comments 1 reply
|
The official guide is live again and updated: https://v2.tauri.app/distribute/flatpak/ There is still no built-in 1. Tools & runtime sudo apt install flatpak flatpak-builder # or pacman/dnf/emerge equivalents
flatpak install flathub org.gnome.Platform//46 org.gnome.Sdk//46The GNOME 46/47 runtime ships every dependency a stock Tauri app needs. 2. Build a .deb npm run tauri build -- --bundles deb(or set 3. AppStream metainfo (required for Flathub) "bundle": {
"linux": {
"deb": {
"files": {
"/usr/share/metainfo/org.your.id.metainfo.xml": "relative/path/to/org.your.id.metainfo.xml"
}
}
}
}4. Manifest — a 5. Build & test locally flatpak-builder --force-clean --user --disable-cache --repo flatpak-repo flatpak flatpak-builder.yaml
flatpak run <your.id>6. Submit to Flathub — fork One tip: for an open-source app Flathub reviewers prefer a source-based build (flatpak-node-generator + flatpak-cargo-generator to vendor your npm/cargo deps) over shipping a prebuilt deb — the docs cover both the open-source and closed-source variants under separate tabs. |
Uh oh!
There was an error while loading. Please reload this page.
So, i wanted to distribute my app as a flatpak. What's the new way of doing it. the old guide has probably been removed here
All reactions