From 935b3819f0cf481f84a2ce3a055fafc597c2e421 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Sat, 15 May 2021 18:09:46 -0600 Subject: [PATCH] Fix typo --- Resources/Build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/Build.py b/Resources/Build.py index 7360be158..c3555d58d 100644 --- a/Resources/Build.py +++ b/Resources/Build.py @@ -940,11 +940,11 @@ Please build OpenCore first!""" print("- Adding Internal Drive icon") shutil.copy(self.constants.icon_path_internal, mount_path) print("- Cleaning install location") - if Constants.Constants().recovery_status == False: + if self.constants.recovery_status == False: # RecoveryOS doesn't support dot_clean subprocess.run(["dot_clean", mount_path], stdout=subprocess.PIPE).stdout.decode().strip().encode() - print("- Unmounting EFI partition") - subprocess.run(["diskutil", "umount", mount_path], stdout=subprocess.PIPE).stdout.decode().strip().encode() + print("- Unmounting EFI partition") + subprocess.run(["diskutil", "umount", mount_path], stdout=subprocess.PIPE).stdout.decode().strip().encode() print("- OpenCore transfer complete") print("\nPress [Enter] to continue.\n") input()