Implement Retroarch Importer

I'm quite rusty with Python, so please let me know if there are any (or many) grave mistakes!
This commit is contained in:
Rilic
2023-07-15 14:28:04 +01:00
parent c9a1104b44
commit c96b64f72e
6 changed files with 151 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ from src import shared
from src.details_window import DetailsWindow
from src.game import Game
from src.importer.importer import Importer
from src.importer.sources.retroarch_source import RetroarchSource
from src.importer.sources.bottles_source import BottlesSource
from src.importer.sources.flatpak_source import FlatpakSource
from src.importer.sources.heroic_source import HeroicSource
@@ -230,6 +231,9 @@ class CartridgesApplication(Adw.Application):
if shared.schema.get_boolean("legendary"):
importer.add_source(LegendarySource())
if shared.schema.get_boolean("retroarch"):
importer.add_source(RetroarchSource())
importer.run()
def on_remove_game_action(self, *_args):