Merge commit '5af0faaa65432db23d391ee65a6fe9f85021f032'

This commit is contained in:
AresValley
2020-04-18 21:04:16 +02:00
5 changed files with 23 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ class UpdatesController(QObject):
If so, ask to download the new version.
If the software is not a compiled version, the function is a NOP."""
if not IS_BINARY or IS_MAC:
return
return None
latest_updater_version = self.version_controller.updater.version
try:
with sp.Popen(
@@ -127,7 +127,7 @@ class UpdatesController(QObject):
logging.error("Unable to query the updater")
updater_version = latest_updater_version
if latest_updater_version is None:
return
return None
if updater_version != latest_updater_version:
answer = pop_up(
self._owner,