Add Flatpak support for Citra

This commit is contained in:
Mathieu Comandon 2023-06-13 01:31:55 -07:00
parent a78f986634
commit 028aef8cd3
2 changed files with 3 additions and 1 deletions

View file

@ -32,10 +32,11 @@ class JsonRunner(Runner):
self.entry_point_option = self._json_data.get("entry_point_option", "main_file")
self.download_url = self._json_data.get("download_url")
self.runnable_alone = self._json_data.get("runnable_alone")
self.flatpak_id = self._json_data.get("flatpak_id")
def play(self):
"""Return a launchable command constructed from the options"""
arguments = [self.get_executable()]
arguments = self.get_command()
for option in self.runner_options:
if option["option"] not in self.runner_config:
continue

View file

@ -4,6 +4,7 @@
"platforms": ["Nintendo 3DS"],
"require_libs": [],
"runner_executable": "citra/citra-qt",
"flatpak_id": "org.citra_emu.citra",
"runnable_alone": true,
"game_options": [
{