mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
Fix path error
This commit is contained in:
@@ -40,10 +40,10 @@ class PatchSysVolume:
|
|||||||
self.no_patch = True
|
self.no_patch = True
|
||||||
self.validate = False
|
self.validate = False
|
||||||
|
|
||||||
if (Path.home() / "Desktop/OCLP-Test/").exists:
|
#if (Path.home() / "Desktop/OCLP-Test/").exists:
|
||||||
self.mount_location = Path.home() / "Desktop/OCLP-Test"
|
# self.mount_location = Path.home() / "Desktop/OCLP-Test"
|
||||||
self.validate = True
|
# self.validate = True
|
||||||
elif self.constants.detected_os > self.constants.catalina:
|
if self.constants.detected_os > self.constants.catalina:
|
||||||
# Big Sur and newer use APFS snapshots
|
# Big Sur and newer use APFS snapshots
|
||||||
self.mount_location = "/System/Volumes/Update/mnt1"
|
self.mount_location = "/System/Volumes/Update/mnt1"
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user