mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
Merge branch 'main' into sonoma-development
# Conflicts: # payloads/Kexts/Acidanthera/RestrictEvents-v1.1.2-DEBUG.zip # payloads/Kexts/Acidanthera/RestrictEvents-v1.1.2-RELEASE.zip # payloads/Kexts/Acidanthera/WhateverGreen-v1.6.5-Navi-DEBUG.zip # payloads/Kexts/Acidanthera/WhateverGreen-v1.6.5-Navi-RELEASE.zip # payloads/OpenCore/OpenCore-DEBUG.zip # payloads/OpenCore/OpenCore-RELEASE.zip # resources/constants.py # resources/wx_gui/gui_settings.py
This commit is contained in:
@@ -280,6 +280,8 @@ class PatchSysVolume:
|
||||
if self.needs_kmutil_exemptions is True:
|
||||
logging.info("Note: Apple will require you to open System Preferences -> Security to allow the new kernel extensions to be loaded")
|
||||
self.constants.root_patcher_succeeded = True
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def _rebuild_kernel_collection(self) -> bool:
|
||||
@@ -418,9 +420,11 @@ class PatchSysVolume:
|
||||
"""
|
||||
Unmount root volume
|
||||
"""
|
||||
|
||||
logging.info("- Unmounting Root Volume (Don't worry if this fails)")
|
||||
utilities.elevated(["diskutil", "unmount", self.root_mount_path], stdout=subprocess.PIPE).stdout.decode().strip().encode()
|
||||
if self.root_mount_path:
|
||||
logging.info("- Unmounting Root Volume (Don't worry if this fails)")
|
||||
utilities.elevated(["diskutil", "unmount", self.root_mount_path], stdout=subprocess.PIPE).stdout.decode().strip().encode()
|
||||
else:
|
||||
logging.info("- Skipping Root Volume unmount")
|
||||
|
||||
|
||||
def _rebuild_dyld_shared_cache(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user