Fix path error

This commit is contained in:
Mykola Grymalyuk
2021-09-05 11:45:35 -06:00
parent 372ad31d83
commit 0b51a7e9c8

View File

@@ -40,10 +40,10 @@ class PatchSysVolume:
self.no_patch = True
self.validate = False
if (Path.home() / "Desktop/OCLP-Test/").exists:
self.mount_location = Path.home() / "Desktop/OCLP-Test"
self.validate = True
elif self.constants.detected_os > self.constants.catalina:
#if (Path.home() / "Desktop/OCLP-Test/").exists:
# self.mount_location = Path.home() / "Desktop/OCLP-Test"
# self.validate = True
if self.constants.detected_os > self.constants.catalina:
# Big Sur and newer use APFS snapshots
self.mount_location = "/System/Volumes/Update/mnt1"
else: