diff --git a/CHANGELOG.md b/CHANGELOG.md index 983ced6ee..53c05b703 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,15 +19,25 @@ - Cycle between windows - Improve Display Prefpane Image - Defaults prefix change (`ASB_` -> `MORAEA_`, reopen non-Metal Settings to apply) - - Increment Binaries: - PatcherSupportPkg 0.3.7 - release - OpenCorePkg 0.8.0 - release - FeatureUnlock 1.0.8 - release - CPUFriend 1.2.5 - release - WhateverGreen 1.5.8 - release + - AutoPkgInstaller 1.0.0 - release - Speed up loading available remote macOS Installers from Apple - Skips writing catalogs to disk, loads into memory directly +- Implement Automatic Patch Detection/Installation + - Requires GUI for usage + - Installations: + - During macOS Installer creating in-app, OCLP-Install.pkg is installed to macOS installer + - After running the installer with AutoPkgInstaller.kext, Root Patcher will install patches + - Must boot macOS Installer, does not support in-OS usage + - Post OS Updates: + - After OS updates, Patcher will detect whether system requires root patches and prompt you + - Implemented via Launch Agent in `/Library/LaunchAgents` + - OpenCore-Patcher.app will be copied to `/Library/Application Support/Dortania` for storage ## 0.4.3 - Increment Binaries: diff --git a/resources/build.py b/resources/build.py index adf5b293a..43477f7df 100644 --- a/resources/build.py +++ b/resources/build.py @@ -867,7 +867,9 @@ class BuildOpenCore: print("- Adding ipc_control_port_options=0 to boot-args") self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " ipc_control_port_options=0" # Adds AutoPkgInstaller for Automatic OpenCore-Patcher installation - self.enable_kext("AutoPkgInstaller.kext", self.constants.autopkg_version, self.constants.autopkg_path) + # Only install if running the GUI (OCLP-Install.pkg requires the GUI) + if self.constants.wxpython_variant is True: + self.enable_kext("AutoPkgInstaller.kext", self.constants.autopkg_version, self.constants.autopkg_path) if self.constants.custom_sip_value: print(f"- Setting SIP value to: {self.constants.custom_sip_value}") self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = utilities.string_to_hex(self.constants.custom_sip_value.lstrip("0x"))