mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
Update SysPatch.py
This commit is contained in:
@@ -27,7 +27,7 @@ class PatchSysVolume:
|
|||||||
# TODO: Put this in a better place
|
# TODO: Put this in a better place
|
||||||
if self.constants.recovery_status is True:
|
if self.constants.recovery_status is True:
|
||||||
if not Path("/Volumes/mnt1").exists:
|
if not Path("/Volumes/mnt1").exists:
|
||||||
Path("/Volumes/mnt1").mkdir()
|
self.elevated(["mkdir", "/Volumes/mnt1"], stdout=subprocess.PIPE).stdout.decode().strip().encode()
|
||||||
self.mount_location = "/Volumes/mnt1"
|
self.mount_location = "/Volumes/mnt1"
|
||||||
else:
|
else:
|
||||||
self.mount_location = "/System/Volumes/Update/mnt1"
|
self.mount_location = "/System/Volumes/Update/mnt1"
|
||||||
|
|||||||
Reference in New Issue
Block a user