This commit is contained in:
guanzhangrtk
2021-04-24 23:12:13 -07:00
parent 8971a3c4a9
commit 5a0ad4379e

View File

@@ -720,7 +720,7 @@ Please build OpenCore first!"""
if (mount_path / Path("System")).exists():
print("- Removing preexisting System folder")
shutil.rmtree(mount_path / Path("System"), onerror=rmtree_handler)
print("- Coping OpenCore onto EFI partition")
print("- Copying OpenCore onto EFI partition")
shutil.copytree(self.constants.opencore_release_folder / Path("EFI/OC"), mount_path / Path("EFI/OC"))
shutil.copytree(self.constants.opencore_release_folder / Path("System"), mount_path / Path("System"))
if self.constants.boot_efi is True: