From 9e21a81c96679ccae4512cd86961450fb58694c2 Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 2 Dec 2021 16:16:52 +0100 Subject: [PATCH] [cli] install: Set platform when getting game metadata --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 5c6e305..0213c6e 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -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, '