diff --git a/CHANGELOG.md b/CHANGELOG.md index 8db79a494..a5f40e503 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ - Avoids requiring toggling after first time - Streamline GUI relaunch for Root Patch/Unpatch - On relaunch, GUI starts patching immediately (previously user would need to re-nagivate the menu) +- Resolve Electron Crashing with SIP lowered on 12.3 + - Adds `ipc_control_port_options=0` boot argument + - Unknown whether this is a "bug" or intentional from Apple, affects native Macs with SIP disabled ## 0.4.3 - Increment Binaries: diff --git a/resources/build.py b/resources/build.py index b97ce04a5..bbf538434 100644 --- a/resources/build.py +++ b/resources/build.py @@ -861,9 +861,17 @@ class BuildOpenCore: 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")) + # Work-around 12.3 bug where Electron apps no longer launch with SIP lowered + # Unknown whether this is intended behavior or not, revisit with 12.4 + 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" elif self.constants.sip_status is False: print("- Set SIP to allow Root Volume patching") self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = binascii.unhexlify("02080000") + # Work-around 12.3 bug where Electron apps no longer launch with SIP lowered + # Unknown whether this is intended behavior or not, revisit with 12.4 + 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" # if self.constants.amfi_status is False: # print("- Disabling AMFI") # self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " amfi_get_out_of_my_way=1"