From 24c211c4e7507c6de07cff1a479780ede66b7317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Sun, 2 Jun 2019 19:19:51 -0400 Subject: [PATCH] Install update on startup when running on Windows with installer version. --- bazarr/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bazarr/main.py b/bazarr/main.py index efcf1a20c..12bd58451 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -79,6 +79,10 @@ os.environ["BAZARR_VERSION"] = bazarr_version configure_logging(settings.general.getboolean('debug') or args.debug) +# Check and install update on startup when running on Windows from installer +if args.release_update: + check_and_apply_update() + if settings.proxy.type != 'None': if settings.proxy.username != '' and settings.proxy.password != '': proxy = settings.proxy.type + '://' + settings.proxy.username + ':' + settings.proxy.password + '@' + \