mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli] Show game "tip" before and after install
Just to be sure that users see it.
This commit is contained in:
parent
60a504edde
commit
b7f4a9f45a
|
@ -991,6 +991,9 @@ class LegendaryCLI:
|
||||||
logger.fatal('Installation cannot proceed, exiting.')
|
logger.fatal('Installation cannot proceed, exiting.')
|
||||||
exit(1)
|
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 args.yes:
|
||||||
if not get_boolean_choice(f'Do you wish to install "{igame.title}"?'):
|
if not get_boolean_choice(f'Do you wish to install "{igame.title}"?'):
|
||||||
print('Aborting...')
|
print('Aborting...')
|
||||||
|
@ -1052,6 +1055,7 @@ class LegendaryCLI:
|
||||||
logger.info(f'This game supports cloud saves, syncing is handled by the "sync-saves" command. '
|
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}"')
|
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):
|
if tip_url := self.core.get_game_tip(igame.app_name):
|
||||||
print(f'\nThis game may require additional setup, see: {tip_url}\n')
|
print(f'\nThis game may require additional setup, see: {tip_url}\n')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue