mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 03:50:14 +10:00
sys_patch: Fix patches typing
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
- Add support for `gktool` in PKG postinstall scripts
|
- Add support for `gktool` in PKG postinstall scripts
|
||||||
- Removes Gatekeeper "verifying" prompt on first launch after PKG installation
|
- Removes Gatekeeper "verifying" prompt on first launch after PKG installation
|
||||||
- Note `gktool` is only available on macOS Sonoma and newer
|
- Note `gktool` is only available on macOS Sonoma and newer
|
||||||
|
- Resolve unpatching crash edge case when host doesn't require patches.
|
||||||
|
|
||||||
## 1.5.0
|
## 1.5.0
|
||||||
- Restructure project directories
|
- Restructure project directories
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ Please check the Github page for more information about this release."""
|
|||||||
logging.info("- Detected Snapshot seal intact, detecting patches")
|
logging.info("- Detected Snapshot seal intact, detecting patches")
|
||||||
patches = sys_patch_detect.DetectRootPatch(self.constants.computer.real_model, self.constants).detect_patch_set()
|
patches = sys_patch_detect.DetectRootPatch(self.constants.computer.real_model, self.constants).detect_patch_set()
|
||||||
if not any(not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True for patch in patches):
|
if not any(not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True for patch in patches):
|
||||||
patches = []
|
patches = {}
|
||||||
if patches:
|
if patches:
|
||||||
logging.info("- Detected applicable patches, determining whether possible to patch")
|
logging.info("- Detected applicable patches, determining whether possible to patch")
|
||||||
if patches["Validation: Patching Possible"] is False:
|
if patches["Validation: Patching Possible"] is False:
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ class SysPatchDisplayFrame(wx.Frame):
|
|||||||
|
|
||||||
if not any(not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True for patch in patches):
|
if not any(not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True for patch in patches):
|
||||||
logging.info("No applicable patches available")
|
logging.info("No applicable patches available")
|
||||||
patches = []
|
patches = {}
|
||||||
|
|
||||||
# Check if OCLP has already applied the same patches
|
# Check if OCLP has already applied the same patches
|
||||||
no_new_patches = not self._check_if_new_patches_needed(patches) if patches else False
|
no_new_patches = not self._check_if_new_patches_needed(patches) if patches else False
|
||||||
|
|||||||
Reference in New Issue
Block a user