From b7f4a9f45a5e3ebb47f135dbc39fc403c48607ce Mon Sep 17 00:00:00 2001 From: derrod Date: Wed, 1 Jun 2022 09:40:51 +0200 Subject: [PATCH] [cli] Show game "tip" before and after install Just to be sure that users see it. --- legendary/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 3a96237..5ab8689 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -991,6 +991,9 @@ class LegendaryCLI: logger.fatal('Installation cannot proceed, exiting.') exit(1) + if tip_url := self.core.get_game_tip(igame.app_name): + print(f'\nThis game may have compatibility issues or require additional setup, see: {tip_url}\n') + if not args.yes: if not get_boolean_choice(f'Do you wish to install "{igame.title}"?'): print('Aborting...') @@ -1052,6 +1055,7 @@ class LegendaryCLI: logger.info(f'This game supports cloud saves, syncing is handled by the "sync-saves" command. ' f'To download saves for this game run "legendary sync-saves {args.app_name}"') + # show tip again after installation finishes so users hopefully actually see it if tip_url := self.core.get_game_tip(igame.app_name): print(f'\nThis game may require additional setup, see: {tip_url}\n')