mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Warn if parsing manifest-defined launch parameters fails
This commit is contained in:
parent
1ded086969
commit
6b4cf6558b
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue