mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-08-16 17:19:32 +02:00
fix: revert update check order
This commit is contained in:
@@ -25,6 +25,8 @@ class TagStudioCore:
|
||||
@lru_cache(maxsize=1)
|
||||
def get_most_recent_release_version() -> str | None:
|
||||
"""Get the version of the most recent GitHub release."""
|
||||
logger.info("[Core] Checking for updates...")
|
||||
|
||||
try:
|
||||
resp = requests.get(
|
||||
"https://api.github.com/repos/TagStudioDev/TagStudio/releases/latest"
|
||||
|
||||
@@ -639,8 +639,8 @@ class QtDriver(DriverMixin, QObject):
|
||||
|
||||
self.main_window.search_field.setFocus()
|
||||
|
||||
self.app.exec()
|
||||
self.check_for_update()
|
||||
self.app.exec()
|
||||
self.shutdown()
|
||||
|
||||
def show_error_message(self, error_name: str, error_desc: str | None = None):
|
||||
|
||||
Reference in New Issue
Block a user