mirror of
https://github.com/derrod/legendary.git
synced 2025-01-20 06:21:34 +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')
|
self.core.lgd.config.remove_option('Legendary', 'egl_sync')
|
||||||
return
|
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 self.core.egl.programdata_path:
|
||||||
if not args.egl_manifest_path and not args.egl_wine_prefix:
|
if not args.egl_manifest_path and not args.egl_wine_prefix:
|
||||||
# search default Lutris install path
|
# search default Lutris install path
|
||||||
|
|
Loading…
Reference in a new issue