From d21e00227279b1700fe012218ab659bfeb5af22c Mon Sep 17 00:00:00 2001 From: derrod Date: Fri, 3 Sep 2021 20:11:41 +0200 Subject: [PATCH] [cli] Force check for updates when trying to login --- legendary/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 258edce..98a4503 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -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...