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-builderAdd 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- Build the release binary with cargo:
cargo build --release- Build and install the Flatpak:
flatpak-builder --force-clean --user --install build flatpak/io.github.sinelaw.fresh.yml- Run the installed Flatpak:
flatpak run io.github.sinelaw.freshio.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