diff --git a/OpenCore-Patcher.command b/OpenCore-Patcher.command index ab01e2cb8..12e12e462 100755 --- a/OpenCore-Patcher.command +++ b/OpenCore-Patcher.command @@ -22,8 +22,7 @@ class OpenCoreLegacyPatcher(): opencore_model = [line.strip().split(":oem-product ", 1)[1] for line in opencore_model.split("\n") if line.strip().startswith("4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:")][0] self.current_model = opencore_model else: - self.current_model = subprocess.run("system_profiler SPHardwareDataType".split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT) - self.current_model = [line.strip().split(": ", 1)[1] for line in self.current_model.stdout.decode().split("\n") if line.strip().startswith("Model Identifier")][0] + self.current_model = plistlib.loads(subprocess.run("system_profiler -detailLevel mini -xml SPHardwareDataType".split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout.strip())[0]["_items"][0]["machine_model"] self.constants.detected_os = int(platform.uname().release.partition(".")[0]) if self.current_model in ModelArray.NoAPFSsupport: self.constants.serial_settings = "Moderate" diff --git a/docs/BOOT.md b/docs/BOOT.md index e2b54e987..574d40d30 100644 --- a/docs/BOOT.md +++ b/docs/BOOT.md @@ -2,7 +2,7 @@ Now we finally get to boot OpenCore! -Reboot machine while holding `Option` to select the EFI Boot entry with the OpenCore icon while holding the `control` key: +Reboot machine while holding `Option` to select the EFI Boot entry with the OpenCore icon (holding the `Control` key will make this the default boot entry): * This will be the Mac Boot Picker diff --git a/docs/POST-INSTALL.md b/docs/POST-INSTALL.md index 9a529f8e8..cef935d91 100644 --- a/docs/POST-INSTALL.md +++ b/docs/POST-INSTALL.md @@ -37,12 +37,12 @@ Once you've toggled them both off, build your OpenCore EFI once again and instal Once set, rebuild OpenCore, install to drive and reboot. Then, Post-Install Volume patches will run just fine -To apply the Post-Install Volume patches on your [supported system](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108) just use option #3 as shown below +To apply the Post-Install Volume patches [to test out the Beta Graphics Acceleration Patches system](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108), select option #3 as shown below: -![3-Post-Install-Volume-Patch](https://user-images.githubusercontent.com/71768134/116527398-e8fa8080-a8da-11eb-8e52-c482154403fa.png) +![](../images/root-patch.png) -and go ahead to option #1 and let the OCLP patcher apply the needed legacy vidoe patches. +And go ahead to option #1 and let the OCLP patcher apply the needed legacy video patches. -![1-Patch-System-Volume](https://user-images.githubusercontent.com/71768134/116527423-f0218e80-a8da-11eb-8ab7-aaa4b8cd9069.png) +![](../images/root-patcher-2.png) Reboot your system and check out the now working graphics acceleration on your legacy system. This is still Beta software. diff --git a/images/root-patch.png b/images/root-patch.png new file mode 100644 index 000000000..da009c97e Binary files /dev/null and b/images/root-patch.png differ diff --git a/images/root-patcher-2.png b/images/root-patcher-2.png new file mode 100644 index 000000000..7509a9ce2 Binary files /dev/null and b/images/root-patcher-2.png differ