diff --git a/Build-App.command b/Build-App.command index 68cfc1d40..d5ecf2a0c 100755 --- a/Build-App.command +++ b/Build-App.command @@ -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) diff --git a/OpenCore-Patcher.command b/OpenCore-Patcher.command index 2e1ad157a..25cf57bca 100755 --- a/OpenCore-Patcher.command +++ b/OpenCore-Patcher.command @@ -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 diff --git a/Resources/Versions.py b/Resources/Versions.py index 78a86e057..5483d7856 100644 --- a/Resources/Versions.py +++ b/Resources/Versions.py @@ -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") \ No newline at end of file