mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
macos_installer_handler.py: Reference full diskutil path
Thanks @niklasravnsborg for the report!
This commit is contained in:
@@ -14,6 +14,8 @@
|
|||||||
- Removes unsupported Metal-based wallpaper (Macintosh Wallpaper)
|
- Removes unsupported Metal-based wallpaper (Macintosh Wallpaper)
|
||||||
- Resolve firmware upload incompatibilities on pre-2012 Macs with 2012+ Airport cards
|
- Resolve firmware upload incompatibilities on pre-2012 Macs with 2012+ Airport cards
|
||||||
- Thanks @ausdauersportler for the catch!
|
- Thanks @ausdauersportler for the catch!
|
||||||
|
- Resolve `diskutil` failing to be located in the installer creation process
|
||||||
|
- Thanks @niklasravnsborg for the report!
|
||||||
- Increment binaries:
|
- Increment binaries:
|
||||||
- PatcherSupportPkg 1.8.3 - release
|
- PatcherSupportPkg 1.8.3 - release
|
||||||
|
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ class InstallerCreation():
|
|||||||
|
|
||||||
with script_location.open("w") as script:
|
with script_location.open("w") as script:
|
||||||
script.write(f'''#!/bin/bash
|
script.write(f'''#!/bin/bash
|
||||||
erase_disk='diskutil eraseDisk HFS+ OCLP-Installer {disk}'
|
erase_disk='/usr/sbin/diskutil eraseDisk HFS+ OCLP-Installer {disk}'
|
||||||
if $erase_disk; then
|
if $erase_disk; then
|
||||||
"{createinstallmedia_path}" --volume /Volumes/OCLP-Installer --nointeraction{additional_args}
|
"{createinstallmedia_path}" --volume /Volumes/OCLP-Installer --nointeraction{additional_args}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user