flatpak / flatpak-docs

Flatpak documentation
https://docs.flatpak.org
Other
79 stars 132 forks source link

Document how to include additional files into the package, and reference them in the app #461

Closed wiiznokes closed 4 months ago

TingPing commented 4 months ago

This is a pretty vague request.

One of the first examples does this though: https://docs.flatpak.org/en/latest/first-build.html#add-a-manifest

wiiznokes commented 4 months ago

I needed this to include a directory of icons. I finally found a solution, put it in /app/share/

TingPing commented 4 months ago

Icons are documented here: https://docs.flatpak.org/en/latest/conventions.html#application-icons

wiiznokes commented 4 months ago

Not this kind of icons. Just some resource files that i want to have at runtime

TingPing commented 4 months ago

I don't think there is much to document here. All you need to understand is /app exists and how to run a command. This is shown in a few places.

wiiznokes commented 4 months ago

I'm not sure but I think my first attempt in "/app/lib" didn't worked