Adding plugins to a flatpak installed app?
Gerard Braad
me at gbraad.nl
Fri May 3 09:23:11 UTC 2019
Deal. Will file an issue first and propose a PR to the docs repo after
testing it
On Fri, May 3, 2019 at 5:06 PM Alexander Larsson <alexl at redhat.com> wrote:
>
> On Fri, May 3, 2019 at 10:55 AM Gerard Braad <me at gbraad.nl> wrote:
> >
> > Awesome, thanks! I figured I had seen something ... but
> >
> > > where if you create a directory with the right
> > > name in the right place that directly will appear to flatpak
> > > as a locally installed extension
> >
> > Can you be more specific?
>
> I'll dig it up for you, but in return you have to file a PR with
> updates to the docs with it! :)
>
> So, each installation (e.g. /var/lib/flatpak, and
> ~/.local/share/flatpak as well as other customly added ones) can have
> a subdirectory called "extension". In this directory you can create
> directories named $ref/$arch/$branch, and the contents of that will be
> directly visible as the content of the plugins (i.e. what would be in
> the "files" subdirectory of the deploy dir if you installed a packaged
> version of the plugins).
>
> So, for example, if you create a directory called:
> ~/.local/share/flatpak/extension/io.github.Hexchat.Plugin.Gerard/x86_64/18.08
> Its contents would appear under /app/extensions/Gerard in the hexchat sandbox.
>
> Note, the details above matches this from the hexchat manifest:
> "add-extensions": {
> "io.github.Hexchat.Plugin": {
> "version": "18.08",
> "subdirectories": true,
> "directory": "extensions",
> ...
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Alexander Larsson Red Hat, Inc
> alexl at redhat.com alexander.larsson at gmail.com
--
Gerard Braad | http://gbraad.nl
[ Doing Open Source Matters ]
More information about the Flatpak
mailing list