mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
Clean up code
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user