Fix path error

This commit is contained in:
Mykola Grymalyuk
2021-09-05 11:45:35 -06:00
parent 372ad31d83
commit 0b51a7e9c8
+4 -4
View File
@@ -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: