1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

[2251] Add Temp Local Check

This commit is contained in:
David Sangrey 2024-06-06 18:34:03 -04:00
parent bdf4f659b9
commit 1930930854
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC
2 changed files with 7 additions and 1 deletions

View File

@ -54,7 +54,7 @@ appcmdname = 'EDMC'
# <https://semver.org/#semantic-versioning-specification-semver>
# Major.Minor.Patch(-prerelease)(+buildmetadata)
# NB: Do *not* import this, use the functions appversion() and appversion_nobuild()
_static_appversion = '5.11.1-alpha2'
_static_appversion = '5.11.1-alpha3'
_cached_version: semantic_version.Version | None = None
copyright = '© 2015-2019 Jonathan Harris, 2020-2024 EDCD'

View File

@ -187,6 +187,12 @@ class Updater:
self.updater.win_sparkle_check_update_with_ui()
check_for_fdev_updates()
# TEMP: Only include until 6.0
try:
check_for_fdev_updates(local=True)
except Exception as e:
logger.info('Tried to update local FDEV files but failed.')
logger.info(e)
def check_appcast(self) -> EDMCVersion | None:
"""