[cli] Make game compatibility tip more obvious

This commit is contained in:
derrod 2022-01-08 16:50:17 +01:00
parent a48bad9999
commit 1c6e83e9f8

View file

@ -1001,11 +1001,11 @@ class LegendaryCLI:
# todo option to automatically download saves after the installation # todo option to automatically download saves after the installation
# args does not have the required attributes for sync_saves in here, # args does not have the required attributes for sync_saves in here,
# not sure how to solve that elegantly. # not sure how to solve that elegantly.
logger.info('This game supports cloud saves, syncing is handled by the "sync-saves" command.') logger.info('This game supports cloud saves, syncing is handled by the "sync-saves" command. '
logger.info(f'To download saves for this game run "legendary sync-saves {args.app_name}"') 'To download saves for this game run "legendary sync-saves {args.app_name}"')
if tip_url := self.core.get_game_tip(igame.app_name): if tip_url := self.core.get_game_tip(igame.app_name):
logger.info(f'This game may require additional setup, see: {tip_url}') print(f'\nThis game may require additional setup, see: {tip_url}\n')
old_igame = self.core.get_installed_game(game.app_name) old_igame = self.core.get_installed_game(game.app_name)
if old_igame and args.repair_mode and os.path.exists(repair_file): if old_igame and args.repair_mode and os.path.exists(repair_file):