Fix for OC using .hfs instead of .pkg

This commit is contained in:
CorpNewt 2020-02-09 21:07:40 -06:00 committed by GitHub
parent d087e608b9
commit 4ee9f25eec

View File

@ -308,7 +308,7 @@ class WinUSB:
# Got the package - let's make sure it's named right - just in case
if os.path.basename(path).lower().endswith(".hfs"):
# We have an hfs image already - bypass extraction
self.dd_image(disk, path)
self.dd_image(disk, path, clover_version)
return
# If it's a directory, find the first recovery hit
if os.path.isdir(path):