crates/fresh-editor/flatpak/README.md
This directory contains the Flatpak manifest and related files for building Fresh as a Flatpak package.
Install Flatpak and flatpak-builder:
# Debian/Ubuntu
sudo apt install flatpak flatpak-builder
# Fedora
sudo dnf install flatpak flatpak-builder
# Arch Linux
sudo pacman -S flatpak flatpak-builder
Add the Flathub repository and install the runtime:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.freedesktop.Platform//24.08 org.freedesktop.Sdk//24.08
cargo build --release
flatpak-builder --force-clean --user --install build flatpak/io.github.sinelaw.fresh.yml
flatpak run io.github.sinelaw.fresh
io.github.sinelaw.fresh.yml - Flatpak manifestio.github.sinelaw.fresh.desktop - Desktop entry fileio.github.sinelaw.fresh.metainfo.xml - AppStream metadataio.github.sinelaw.fresh.svg - Application icon