This feature request might be out of scope for this application, but I think it would be very useful.
On immutable/atomic distributions (e.g. Fedora Silverblue), setting up MangoHud is not always straightforward. While it is possible via package layering or other approaches (e.g. toolbox/distrobox?), it adds friction compared to traditional mutable systems.
It might be useful if the Flatpak version of this app could bundle MangoHud in some form, allowing users to launch an external executable with MangoHud enabled, similar to running mangohud /path/to/app from a terminal when MangoHud is installed on the host.
This would make it easier to use MangoHud on immutable systems: users could simply install MangoJuice from Flathub and use it as a launcher for other applications with MangoHud enabled. Maybe it could also be useful for users on traditional distros too if on them MangoJuice could use the system MangoHud.
I'm not very knowledgeable on how various permissions work, but there are terminal apps like Ptyxis that are able to escape the sandbox. They get ranked as 'potentially unsafe' on Flathub for having 'arbitrary permissions'. If I understand it correctly 'arbitrary permissions' is the ability to talk to org.freedesktop.Flatpak which is needed to run flatpak-spawn --host.
Although MangoJuice is already classified as 'potentially unsafe', getting the 'arbitrary permissions' makes the security even weaker and I'm not sure what you think about doing that. If security is a concern it would be best if this permission was optional and would be enabled only for the users that want the 'launch app from MangoJuice' feature, but I'm not sure if there is an easy way to do that.
This feature request might be out of scope for this application, but I think it would be very useful.
On immutable/atomic distributions (e.g. Fedora Silverblue), setting up MangoHud is not always straightforward. While it is possible via package layering or other approaches (e.g. toolbox/distrobox?), it adds friction compared to traditional mutable systems.
It might be useful if the Flatpak version of this app could bundle MangoHud in some form, allowing users to launch an external executable with MangoHud enabled, similar to running
mangohud /path/to/appfrom a terminal when MangoHud is installed on the host.This would make it easier to use MangoHud on immutable systems: users could simply install MangoJuice from Flathub and use it as a launcher for other applications with MangoHud enabled. Maybe it could also be useful for users on traditional distros too if on them MangoJuice could use the system MangoHud.
I'm not very knowledgeable on how various permissions work, but there are terminal apps like Ptyxis that are able to escape the sandbox. They get ranked as 'potentially unsafe' on Flathub for having 'arbitrary permissions'. If I understand it correctly 'arbitrary permissions' is the ability to talk to
org.freedesktop.Flatpakwhich is needed to runflatpak-spawn --host.Although MangoJuice is already classified as 'potentially unsafe', getting the 'arbitrary permissions' makes the security even weaker and I'm not sure what you think about doing that. If security is a concern it would be best if this permission was optional and would be enabled only for the users that want the 'launch app from MangoJuice' feature, but I'm not sure if there is an easy way to do that.