mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-19 13:46:05 +10:00
installer.py: Fix typo
This commit is contained in:
@@ -345,8 +345,8 @@ def generate_installer_creation_script(script_location, installer_path, disk):
|
|||||||
|
|
||||||
with script_location.open("w") as script:
|
with script_location.open("w") as script:
|
||||||
script.write(f'''#!/bin/bash
|
script.write(f'''#!/bin/bash
|
||||||
earse_disk='diskutil eraseDisk HFS+ OCLP-Installer {disk}'
|
erase_disk='diskutil eraseDisk HFS+ OCLP-Installer {disk}'
|
||||||
if $earse_disk; then
|
if $erase_disk; then
|
||||||
"{createinstallmedia_path}" --volume /Volumes/OCLP-Installer --nointeraction
|
"{createinstallmedia_path}" --volume /Volumes/OCLP-Installer --nointeraction
|
||||||
fi
|
fi
|
||||||
''')
|
''')
|
||||||
|
|||||||
Reference in New Issue
Block a user