This commit is contained in:
Mykola Grymalyuk
2021-05-15 18:09:46 -06:00
parent 1abe08bcac
commit 935b3819f0
+3 -3
View File
@@ -940,11 +940,11 @@ Please build OpenCore first!"""
print("- Adding Internal Drive icon") print("- Adding Internal Drive icon")
shutil.copy(self.constants.icon_path_internal, mount_path) shutil.copy(self.constants.icon_path_internal, mount_path)
print("- Cleaning install location") print("- Cleaning install location")
if Constants.Constants().recovery_status == False: if self.constants.recovery_status == False:
# RecoveryOS doesn't support dot_clean # RecoveryOS doesn't support dot_clean
subprocess.run(["dot_clean", mount_path], stdout=subprocess.PIPE).stdout.decode().strip().encode() subprocess.run(["dot_clean", mount_path], stdout=subprocess.PIPE).stdout.decode().strip().encode()
print("- Unmounting EFI partition") print("- Unmounting EFI partition")
subprocess.run(["diskutil", "umount", mount_path], stdout=subprocess.PIPE).stdout.decode().strip().encode() subprocess.run(["diskutil", "umount", mount_path], stdout=subprocess.PIPE).stdout.decode().strip().encode()
print("- OpenCore transfer complete") print("- OpenCore transfer complete")
print("\nPress [Enter] to continue.\n") print("\nPress [Enter] to continue.\n")
input() input()