From 96e07ff453910b8cae89af044e317001ce33ac8b Mon Sep 17 00:00:00 2001 From: derrod Date: Sun, 24 Dec 2023 13:35:08 +0100 Subject: [PATCH] [cli] Fix launchable add-ons that are also installable --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index fe85e49..c77cc71 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -579,7 +579,7 @@ class LegendaryCLI: return self._launch_origin(args) igame = self.core.get_installed_game(app_name) - if not igame and (game := self.core.get_game(app_name)) is not None: + if (not igame or not igame.executable) and (game := self.core.get_game(app_name)) is not None: # override installed game with base title if game.is_launchable_addon: addon_app_name = app_name