I finally managed to build my app using flatpak-builder. But i have no idea about how to put my icon and desktop files inside flatpak. the documentation says it should be put on /app/share/applications etc. But how do i do it:
- should i put the desktop files in my main repo and
flatpak-builderautomatically integrates them? - should i put my desktop files and icons in flathub repo?
- should i just copy/paste them in to
build-dirgenerated byflatpak-builder - should i use
post-installkeyword in myymlfile then copy my desktop file and icons into proper places. (if yes then why didn’t some flatpak manifests (ymlfiles) do that?).
Thanks.