Clean up code

This commit is contained in:
Mykola Grymalyuk
2021-03-04 09:13:12 -07:00
parent 7c3557ec46
commit 31d31e1f3e
2 changed files with 2 additions and 3 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,11 +191,9 @@ 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"]
#self.config["UEFI"]["Drivers"] = ["OpenCanopy.efi"]
#self.config["UEFI"]["Quirks"]["RequestBootVarRouting"] = False
# Hibernation Patch
self.config["Booter"]["Quirks"]["DiscardHibernateMap"] = True
def set_smbios(self):
spoofed_model = self.model
# TODO: Set check as global variable