To build the application, you can use one of the manifests:
flatpak-builder --user --install --force-clean target/flatpak/release manifests/release.ymlor
flatpak-builder --user --install --force-clean target/flatpak/debug manifests/dev.ymlAdditionally, these commands will install the application in your system, so you can run it.
Note:
flatpak-builderwill 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
yqinstalled.