Merge pull request #77 from dortania/hibernation

Fix hibernation
This commit is contained in:
Mykola Grymalyuk
2021-03-04 09:13:50 -07:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
- Add CPUFriend support to resolve X86PlatformPlugin clashes
- (1.2.3 c388a62 release)
- Fix crash with MacBookAir5,x
- Fix hibernation support
## 0.0.12
- Convert OpenCore-Patcher binary to OpenCore-Patcher.app

View File

@@ -191,6 +191,8 @@ class BuildOpenCore:
shutil.rmtree(self.constants.resources_path, onerror=rmtree_handler)
shutil.copy(self.constants.gui_path, self.constants.oc_folder)
self.config["UEFI"]["Drivers"] = ["OpenCanopy.efi", "OpenRuntime.efi"]
# Hibernation Patch
self.config["Booter"]["Quirks"]["DiscardHibernateMap"] = True
def set_smbios(self):
spoofed_model = self.model