From d933e6d81690186d4891f8cf3323aed547382efe Mon Sep 17 00:00:00 2001 From: bbbbbr Date: Thu, 22 May 2025 13:12:05 -0700 Subject: [PATCH] Remove dialog that prompts user to update if they disabled update check Remove the dialog which prompts the user to update after 180 days if the update check is disabled. --- FlashGBX/FlashGBX_GUI.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/FlashGBX/FlashGBX_GUI.py b/FlashGBX/FlashGBX_GUI.py index 003953e..fcad623 100644 --- a/FlashGBX/FlashGBX_GUI.py +++ b/FlashGBX/FlashGBX_GUI.py @@ -657,10 +657,6 @@ def UpdateCheck(self): print("Error: Failed to check for updates (too many API requests). Try again later.") else: print("Error: Failed to check for updates (HTTP status {:d}).".format(ret.status_code)) - else: - update_check = self.SETTINGS.value("UpdateCheck") - if update_check is None or (time.time() > (Util.VERSION_TIMESTAMP + (6*30*24*60*60))): - QtWidgets.QMessageBox.information(self, "{:s} {:s}".format(APPNAME, VERSION), "Welcome to {:s} {:s} by Lesserkuma!

".format(APPNAME, VERSION) + "The version update check has been disabled in the options menu and this version is now older than {:d} days. Please regularily check the FlashGBX GitHub page for the latest release notes and updates.".format(int((time.time() - Util.VERSION_TIMESTAMP)/60/60/24)), QtWidgets.QMessageBox.Ok, QtWidgets.QMessageBox.Ok) def DisconnectDevice(self): try: