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-builder
automatically integrates them? - should i put my desktop files and icons in flathub repo?
- should i just copy/paste them in to
build-dir
generated byflatpak-builder
- should i use
post-install
keyword in myyml
file then copy my desktop file and icons into proper places. (if yes then why didn’t some flatpak manifests (yml
files) do that?).
Thanks.