handle patched versions (18.2 beta 3+)

This commit is contained in:
leminlimez
2024-11-11 16:47:45 -05:00
parent 91acc8288a
commit 2912b97eea
3 changed files with 15 additions and 1 deletions

View File

@@ -387,7 +387,7 @@ class MainWindow(QtWidgets.QMainWindow):
def show_version_text(self, version: str, build: str):
support_str: str = "<span style=\"color: #32d74b;\">Supported!</span></a>"
if Version(version) < Version("17.0"):
if Version(version) < Version("17.0") or self.device_manager.get_current_device_patched():
support_str = "<span style=\"color: #ff0000;\">Not Supported.</span></a>"
elif not self.device_manager.get_current_device_supported():
# sparserestore partially patched