mirror of
https://github.com/derrod/legendary.git
synced 2025-01-03 04:45:28 +00:00
[cli] egl-sync: Error out if asset information missing
This commit is contained in:
parent
a25307da71
commit
58edb22fce
|
@ -911,6 +911,11 @@ class LegendaryCLI:
|
|||
self.core.lgd.config.remove_option('Legendary', 'egl_sync')
|
||||
return
|
||||
|
||||
if not self.core.lgd.assets:
|
||||
logger.error('Legendary is missing game metadata, please login (if not already) and use the '
|
||||
'"status" command to fetch necessary information to set-up syncing.')
|
||||
return
|
||||
|
||||
if not self.core.egl.programdata_path:
|
||||
if not args.egl_manifest_path and not args.egl_wine_prefix:
|
||||
# search default Lutris install path
|
||||
|
|
Loading…
Reference in a new issue