Fix correcy typo

Closes https://github.com/dortania/Opencore-Legacy-Patcher/issues/5
This commit is contained in:
Mykola Grymalyuk
2020-12-03 08:51:12 -07:00
parent bafff66417
commit eb5280f827
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -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_resources_path = os.path.join(current_path, "App/OpenCore-Patcher.app/Contents/Resources/")
if os.path.exists(app_path):
print("Cleaning App folder")
rmtree(app_path)
@@ -47,5 +48,5 @@ copy_tree(resources_path, app_macos_resources_path)
copy_tree(payloads_path, app_macos_payload_path)
copy(icns_path, app_resources_path)
copy(plist_path, contents_path)
copy(icns_path, app_macos_path)
+2 -2
View File
@@ -122,7 +122,7 @@ while MainMenu:
print("")
print(" New SMBIOS: %s" % OpenCoreOption)
print("")
ChangeOCversionYN = input("Is this correcy? (y/n)")
ChangeOCversionYN = input("Is this correct? (y/n)")
if ChangeOCversionYN in {"y", "Y", "yes", "Yes"}:
ChangeOCversion=False
Versions.opencore_version = OpenCoreOption
@@ -197,7 +197,7 @@ while MainMenu:
print("")
print(" New SMBIOS: %s" % SMBIOSOption)
print("")
SMBIOSMenuYN = input("Is this correcy? (y/n)")
SMBIOSMenuYN = input("Is this correct? (y/n)")
if SMBIOSMenuYN in {"y", "Y", "yes", "Yes"}:
SMBIOSMenu=False
BuildOpenCore.current_model = SMBIOSOption
+1
View File
@@ -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")
# Icons
app_icon_path = os.path.join(current_path, "OC-Patcher.icns")
icon_path = os.path.join(current_path, "payloads/Icon/" ".VolumeIcon.icns")
gui_path = os.path.join(current_path, "payloads/Icon/" "Resources.zip")