mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 14:40:52 +10:00
Update BuildOpenCore.py
This commit is contained in:
@@ -277,6 +277,7 @@ def MoveOpenCore():
|
|||||||
print("")
|
print("")
|
||||||
print("Coping OpenCore onto Volumes/EFI")
|
print("Coping OpenCore onto Volumes/EFI")
|
||||||
efiVol = "/Volumes/EFI"
|
efiVol = "/Volumes/EFI"
|
||||||
|
if os.path.exists(efiVol):
|
||||||
if os.path.exists("/Volumes/EFI/EFI"):
|
if os.path.exists("/Volumes/EFI/EFI"):
|
||||||
print("Cleaning EFI folder")
|
print("Cleaning EFI folder")
|
||||||
rmtree("/Volumes/EFI/EFI")
|
rmtree("/Volumes/EFI/EFI")
|
||||||
|
|||||||
Reference in New Issue
Block a user