mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-09-20 09:30:34 +00:00
Fix for OC using .hfs instead of .pkg
This commit is contained in:
parent
d087e608b9
commit
4ee9f25eec
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ class WinUSB:
|
||||||
# Got the package - let's make sure it's named right - just in case
|
# Got the package - let's make sure it's named right - just in case
|
||||||
if os.path.basename(path).lower().endswith(".hfs"):
|
if os.path.basename(path).lower().endswith(".hfs"):
|
||||||
# We have an hfs image already - bypass extraction
|
# We have an hfs image already - bypass extraction
|
||||||
self.dd_image(disk, path)
|
self.dd_image(disk, path, clover_version)
|
||||||
return
|
return
|
||||||
# If it's a directory, find the first recovery hit
|
# If it's a directory, find the first recovery hit
|
||||||
if os.path.isdir(path):
|
if os.path.isdir(path):
|
||||||
|
|
Loading…
Reference in a new issue