mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Allow launching DLC if executable is set
This commit is contained in:
parent
c69301212c
commit
07a16f7b84
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue