From 07a16f7b84f4b6b43078fe84160ca761f1086ba4 Mon Sep 17 00:00:00 2001 From: derrod Date: Mon, 26 Jun 2023 07:05:43 +0200 Subject: [PATCH] [cli] Allow launching DLC if executable is set --- legendary/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legendary/cli.py b/legendary/cli.py index 25bed4f..008d9dc 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -579,8 +579,8 @@ class LegendaryCLI: logger.error(f'Game {app_name} is not currently installed!') exit(1) - if igame.is_dlc: - logger.error(f'{app_name} is DLC; please launch the base game instead!') + if igame.is_dlc and not igame.executable: + logger.error(f'{app_name} is DLC without an executable; please launch the base game instead!') exit(1) if not os.path.exists(igame.install_path):