Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions FlashGBX/FlashGBX_GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!<br><br>".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 <a href=\"https://github.com/lesserkuma/FlashGBX/releases/latest\">FlashGBX GitHub page</a> 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:
Expand Down