To build the application, you can use one of the manifests:
flatpak-builder --user --install --force-clean target/flatpak/release manifests/release.yml
or
flatpak-builder --user --install --force-clean target/flatpak/debug manifests/dev.yml
Additionally, these commands will install the application in your system, so you can run it.
Note:
flatpak-builder
will prune Cargo cache every time.
To iterate on the application, run the run.bash
script. It replicates a part of the flatpak-builder
's build process with standard flatpak
commands, allowing you to preserve the Cargo cache between builds.
Note: Make sure you have
yq
installed.