[core] Warn if parsing manifest-defined launch parameters fails

This commit is contained in:
derrod 2021-09-09 09:55:48 +02:00
parent 1ded086969
commit 6b4cf6558b

View file

@ -482,7 +482,11 @@ class LegendaryCore:
params.append(game_exe)
if install.launch_parameters:
try:
params.extend(shlex.split(install.launch_parameters, posix=False))
except ValueError as e:
self.log.warning(f'Parsing predefined launch parameters failed with: {e!r}, '
f'input: {install.launch_parameters}')
params.extend([
'-AUTH_LOGIN=unused',