I have made a a custom Minecraft Launcher (PyQt) that I want to bring on Flathub. I have currently 2 problems with using commands from Hostsystem:
-
The user can set a custom Java executable, which is needed for some older or modded versions. e.g. the User has a Arch based system and installs the jre8-openjdk package, he or she should be able to use /usr/lib/jvm/java-8-openjdk/jre/bin as Java Executable.
-
The latest Beta on my PC (not on GitLab yet) supports Gamemode. This is done by simple put gamemoderun before the command to start Minecraft, if it is installed on the host system. How can I access gamemoderun from Flatpak?