Open LeandroStanger opened 5 years ago
AppImage relies on fuse, which won't work in flatpak sandbox. You can extract the appimage is as it suggests and try running extracted binary.
Possibly could talk with Lutris team to extract it and run the executable if the system can't create fuses? @gasinvein
How Lutris and this Ankama Launcher are related btw? I can't find anything in Lutris code mentioning it.
Is this https://lutris.net/games/ankama-launcher/ ? In order to run AppImages, would we have to ship fuse as part of the Flatpak?
@RobLoach
This looks like something done by third-party, not by Lutris devs.
In order to run AppImages, would we have to ship fuse as part of the Flatpak?
It won't be enough, I guess. Does bwrap sandbox even allow fuse interaction?
AFAIK FUSE isn't supported inside of sandboxes at all due to kernel constraints. However, you could extract the AppImage, using either --appimage-extract
or unappimage (which is used by the Unity Hub Flatpak, since --appimage-extract
wants access to /proc which isn't available in apply_extra).
@refi64, true, thus this can't be fixed on our side. I think the best we can is to to ask the author of this to extract the appimage instead of running it as is.
The RPCS3 is also a AppImage application https://github.com/RPCS3/rpcs3/issues/5935
RPCS3 is a runner in Lutris terms, not a 3rd-party game like Ankama Launcher. And we (well, at least me) plan to build runners ourselves instead of poking around prebuilt binaries.