mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
Add workaround for unmount
This commit is contained in:
@@ -417,9 +417,11 @@ class PatchSysVolume:
|
|||||||
"""
|
"""
|
||||||
Unmount root volume
|
Unmount root volume
|
||||||
"""
|
"""
|
||||||
|
if self.root_mount_path:
|
||||||
logging.info("- Unmounting Root Volume (Don't worry if this fails)")
|
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()
|
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:
|
def _rebuild_dyld_shared_cache(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user