From 3049d1adef3685c68a10d5121f6b1d221f05a753 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Wed, 21 Apr 2021 10:53:21 -0600 Subject: [PATCH] Fix misc issues Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/161 --- CHANGELOG.md | 2 +- Resources/CliMenu.py | 2 +- Resources/SysPatch.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65852e178..f8a73f05e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ - Fix DRM support on Nvidia-only configurations - Support optional setting between DRM and QuickSync support on iMacs13,x and iMac14,x - Add public beta support for Legacy GPU Acceleration - - Note ATI/AMD TeraScale 2 unsupported + - Note ATI/AMD TeraScale 2 unsupported (HD 5/6000) ## 0.1.0 - Fix crash on iMacs with Metal GPUs diff --git a/Resources/CliMenu.py b/Resources/CliMenu.py index 7027b89d5..41cfa074f 100644 --- a/Resources/CliMenu.py +++ b/Resources/CliMenu.py @@ -158,7 +158,7 @@ pressing the "Esc" key contents can be tampered with. However for more advanced users, you may want to be able to freely edit the config.plist and files. -Note: For secuirty reasons, OpenShell will be disabled when Vault is set. +Note: For security reasons, OpenShell will be disabled when Vault is set. """) change_menu = input("Enable Vault(y/n): ") diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index 874467c31..9eda12318 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -237,10 +237,10 @@ class PatchSysVolume: elif self.igpu_device in ModelArray.SandyBridgepiciid: print("- Adding Intel Sandy Bridge Brightness Control patches") self.add_new_binaries(ModelArray.AddIntelGen2Brightness, self.constants.legacy_intel_gen2_path) - if self.dgpu_devices and self.dgpu_vendor == self.constants.pci_amd_ati and self.dgpu_device in ModelArray.TeraScale2pciid: + #if self.dgpu_devices and self.dgpu_vendor == self.constants.pci_amd_ati and self.dgpu_device in ModelArray.TeraScale2pciid: # Swap custom AppleIntelSNBGraphicsFB-AMD.kext, required to fix linking - subprocess.run(f"sudo rm -R {self.mount_extensions}/AppleIntelSNBGraphicsFB.kext".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode() - subprocess.run(f"sudo cp -R {self.constants.legacy_amd_path}/AMD-Link/AppleIntelSNBGraphicsFB.kext {self.mount_extensions}".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode() + # subprocess.run(f"sudo rm -R {self.mount_extensions}/AppleIntelSNBGraphicsFB.kext".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode() + # subprocess.run(f"sudo cp -R {self.constants.legacy_intel_gen2_path}/AMD-Link/AppleIntelSNBGraphicsFB.kext {self.mount_extensions}".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode() elif self.igpu_vendor == self.constants.pci_nvidia and not self.dgpu_devices: # Avoid patching twice, as Nvidia iGPUs will only have Nvidia dGPUs print("- Adding Nvidia Brightness Control patches")