mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli] Force check for updates when trying to login
This commit is contained in:
parent
b33396915e
commit
d21e002272
|
@ -117,6 +117,10 @@ class LegendaryCLI:
|
|||
logger.error(f'No EGS login session found, please login manually. (Exception: {e!r})')
|
||||
exit(1)
|
||||
|
||||
# Force an update check and notice in case there are API changes
|
||||
self.core.check_for_updates(force=True)
|
||||
self.core.force_show_update = True
|
||||
|
||||
exchange_token = ''
|
||||
if not args.auth_code and not args.session_id:
|
||||
# unfortunately the captcha stuff makes a complete CLI login flow kinda impossible right now...
|
||||
|
|
Loading…
Reference in a new issue