From 77bf82d65ae8cdf5d9240483fa2ac73aa431b72a Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Mon, 16 May 2022 12:08:42 -0600 Subject: [PATCH] installer.py: Fix loading newest IAs --- CHANGELOG.md | 1 + resources/installer.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5a5a45df..ff4971ca4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ - Add GUI Prompt for booting mismatched OpenCore configs - ex. Booting MacBookPro8,1 config on MacBookPro11,1 - Add Checksum verification to InstallAssistant.pkg download + - Fix showing latest 12.4 remote installers - Add error handling to non-standard/malformed OpenCore Boot Path - Non-Metal Enhancements: - Add work-around to double clock bug introduced in macOS 12.4 diff --git a/resources/installer.py b/resources/installer.py index fadaeb91d..ca6c21eb5 100644 --- a/resources/installer.py +++ b/resources/installer.py @@ -196,6 +196,7 @@ def only_list_newest_installers(available_apps): remote_version.pop(0) if int(remote_version[0]) > remote_version_minor: remote_version_minor = int(remote_version[0]) + remote_version_security = 0 # Reset as new minor version found if len(remote_version) > 1: if int(remote_version[1]) > remote_version_security: remote_version_security = int(remote_version[1])