mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 22:50:51 +10:00
Fix correcy typo
Closes https://github.com/dortania/Opencore-Legacy-Patcher/issues/5
This commit is contained in:
+2
-1
@@ -31,6 +31,7 @@ app_macos_payload_path = os.path.join(current_path, "App/OpenCore-Patcher.app/Co
|
|||||||
app_macos_resources_path = os.path.join(current_path, "App/OpenCore-Patcher.app/Contents/MacOS/Resources")
|
app_macos_resources_path = os.path.join(current_path, "App/OpenCore-Patcher.app/Contents/MacOS/Resources")
|
||||||
app_resources_path = os.path.join(current_path, "App/OpenCore-Patcher.app/Contents/Resources/")
|
app_resources_path = os.path.join(current_path, "App/OpenCore-Patcher.app/Contents/Resources/")
|
||||||
|
|
||||||
|
|
||||||
if os.path.exists(app_path):
|
if os.path.exists(app_path):
|
||||||
print("Cleaning App folder")
|
print("Cleaning App folder")
|
||||||
rmtree(app_path)
|
rmtree(app_path)
|
||||||
@@ -47,5 +48,5 @@ copy_tree(resources_path, app_macos_resources_path)
|
|||||||
copy_tree(payloads_path, app_macos_payload_path)
|
copy_tree(payloads_path, app_macos_payload_path)
|
||||||
copy(icns_path, app_resources_path)
|
copy(icns_path, app_resources_path)
|
||||||
copy(plist_path, contents_path)
|
copy(plist_path, contents_path)
|
||||||
|
copy(icns_path, app_macos_path)
|
||||||
|
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ while MainMenu:
|
|||||||
print("")
|
print("")
|
||||||
print(" New SMBIOS: %s" % OpenCoreOption)
|
print(" New SMBIOS: %s" % OpenCoreOption)
|
||||||
print("")
|
print("")
|
||||||
ChangeOCversionYN = input("Is this correcy? (y/n)")
|
ChangeOCversionYN = input("Is this correct? (y/n)")
|
||||||
if ChangeOCversionYN in {"y", "Y", "yes", "Yes"}:
|
if ChangeOCversionYN in {"y", "Y", "yes", "Yes"}:
|
||||||
ChangeOCversion=False
|
ChangeOCversion=False
|
||||||
Versions.opencore_version = OpenCoreOption
|
Versions.opencore_version = OpenCoreOption
|
||||||
@@ -197,7 +197,7 @@ while MainMenu:
|
|||||||
print("")
|
print("")
|
||||||
print(" New SMBIOS: %s" % SMBIOSOption)
|
print(" New SMBIOS: %s" % SMBIOSOption)
|
||||||
print("")
|
print("")
|
||||||
SMBIOSMenuYN = input("Is this correcy? (y/n)")
|
SMBIOSMenuYN = input("Is this correct? (y/n)")
|
||||||
if SMBIOSMenuYN in {"y", "Y", "yes", "Yes"}:
|
if SMBIOSMenuYN in {"y", "Y", "yes", "Yes"}:
|
||||||
SMBIOSMenu=False
|
SMBIOSMenu=False
|
||||||
BuildOpenCore.current_model = SMBIOSOption
|
BuildOpenCore.current_model = SMBIOSOption
|
||||||
|
|||||||
@@ -68,5 +68,6 @@ gui_path_build = os.path.join(current_path, "Build-Folder/" "OpenCore-v%s/EFI/OC
|
|||||||
macserial_path = os.path.join(current_path, "payloads/" "Tools")
|
macserial_path = os.path.join(current_path, "payloads/" "Tools")
|
||||||
|
|
||||||
# Icons
|
# Icons
|
||||||
|
app_icon_path = os.path.join(current_path, "OC-Patcher.icns")
|
||||||
icon_path = os.path.join(current_path, "payloads/Icon/" ".VolumeIcon.icns")
|
icon_path = os.path.join(current_path, "payloads/Icon/" ".VolumeIcon.icns")
|
||||||
gui_path = os.path.join(current_path, "payloads/Icon/" "Resources.zip")
|
gui_path = os.path.join(current_path, "payloads/Icon/" "Resources.zip")
|
||||||
Reference in New Issue
Block a user