RobLoach / net.lutris.Lutris

Pull requests for new applications to be added
https://flathub.org
2 stars 0 forks source link

Add extension point for runners #37

Closed gasinvein closed 5 years ago

gasinvein commented 5 years ago

With this we can build external programs (i.e. Lutris runners) as flatpak extensions. Discovered problems:

gasinvein commented 5 years ago

Existing flatpak apps may be reused with minimal changes, see gasinvein/org.libretro.RetroArch@61496a071a926486eb9e2a5ba9b9cc8a26215c8f for example.

RobLoach commented 5 years ago

Regarding gasinvein:lutris-runner, it seems like a lot of work to expose the runner. Is there no way to have a Flatpak execute another Flatpak executable?

gasinvein commented 5 years ago

it seems like a lot of work to expose the runner

Almost all of the changes are related to changing install prefix. Amount of changed lines could be reduced if paths aren't hardcoded and repeated, e.g. if we put them in some variable of something like this.

Is there no way to have a Flatpak execute another Flatpak executable?

AFAIK no, not without involving host commands. flatpak/flatpak#2436 and flatpak/flatpak#2846 seems related.

gasinvein commented 5 years ago

Now the changes to RetroArch manifest are small and simple enough, I think.