mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] install: Set platform when getting game metadata
This commit is contained in:
parent
1dfc5aabe7
commit
9e21a81c96
|
@ -718,7 +718,7 @@ class LegendaryCLI:
|
|||
if args.platform not in ('Win32', 'Windows', 'Mac'):
|
||||
logger.warning(f'Platform "{args.platform}" may be invalid. Valid ones are: Windows, Win32, Mac.')
|
||||
|
||||
game = self.core.get_game(args.app_name, update_meta=True)
|
||||
game = self.core.get_game(args.app_name, update_meta=True, platform=args.platform)
|
||||
|
||||
if not game:
|
||||
logger.error(f'Could not find "{args.app_name}" in list of available games, '
|
||||
|
|
Loading…
Reference in a new issue