mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
Fix references
Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/545
This commit is contained in:
@@ -854,7 +854,7 @@ system_profiler SPHardwareDataType | grep 'Model Identifier'
|
||||
],
|
||||
[
|
||||
f"Set Secure Boot Model (SBM):\t\tCurrently {self.constants.secure_status}",
|
||||
MenuOptions(self.constants.custom_model or self.constant.computer.real_model, self.constants).change_sbm,
|
||||
MenuOptions(self.constants.custom_model or self.constants.computer.real_model, self.constants).change_sbm,
|
||||
],
|
||||
[f"Set Vault Mode:\t\t\t\tCurrently {self.constants.vault}", MenuOptions(self.constants.custom_model or self.constants.computer.real_model, self.constants).change_vault],
|
||||
]
|
||||
|
||||
@@ -117,7 +117,7 @@ class PatchSysVolume:
|
||||
|
||||
print("- Creating Backup folder")
|
||||
utilities.process_status(
|
||||
self.elevated(
|
||||
utilities.elevated(
|
||||
["cp", "-r", f"{self.mount_location}/{location}", f"{self.mount_location}/{location}-Backup"],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
@@ -125,7 +125,7 @@ class PatchSysVolume:
|
||||
)
|
||||
print("- Zipping Backup folder")
|
||||
utilities.process_status(
|
||||
self.elevated(
|
||||
utilities.elevated(
|
||||
["ditto", "-c", "-k", "--sequesterRsrc", "--keepParent", f"{self.mount_location}/{location}-Backup", f"{self.mount_location}/{location_zip}"],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
@@ -134,7 +134,7 @@ class PatchSysVolume:
|
||||
|
||||
print("- Removing Backup folder")
|
||||
utilities.process_status(
|
||||
self.elevated(
|
||||
utilities.elevated(
|
||||
["rm", "-r", f"{self.mount_location}/{location}-Backup"],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
|
||||
Reference in New Issue
Block a user