mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
Clean up code
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- Add CPUFriend support to resolve X86PlatformPlugin clashes
|
- Add CPUFriend support to resolve X86PlatformPlugin clashes
|
||||||
- (1.2.3 c388a62 release)
|
- (1.2.3 c388a62 release)
|
||||||
- Fix crash with MacBookAir5,x
|
- Fix crash with MacBookAir5,x
|
||||||
|
- Fix hibernation support
|
||||||
|
|
||||||
## 0.0.12
|
## 0.0.12
|
||||||
- Convert OpenCore-Patcher binary to OpenCore-Patcher.app
|
- Convert OpenCore-Patcher binary to OpenCore-Patcher.app
|
||||||
|
|||||||
+1
-3
@@ -191,11 +191,9 @@ class BuildOpenCore:
|
|||||||
shutil.rmtree(self.constants.resources_path, onerror=rmtree_handler)
|
shutil.rmtree(self.constants.resources_path, onerror=rmtree_handler)
|
||||||
shutil.copy(self.constants.gui_path, self.constants.oc_folder)
|
shutil.copy(self.constants.gui_path, self.constants.oc_folder)
|
||||||
self.config["UEFI"]["Drivers"] = ["OpenCanopy.efi", "OpenRuntime.efi"]
|
self.config["UEFI"]["Drivers"] = ["OpenCanopy.efi", "OpenRuntime.efi"]
|
||||||
#self.config["UEFI"]["Drivers"] = ["OpenCanopy.efi"]
|
# Hibernation Patch
|
||||||
#self.config["UEFI"]["Quirks"]["RequestBootVarRouting"] = False
|
|
||||||
self.config["Booter"]["Quirks"]["DiscardHibernateMap"] = True
|
self.config["Booter"]["Quirks"]["DiscardHibernateMap"] = True
|
||||||
|
|
||||||
|
|
||||||
def set_smbios(self):
|
def set_smbios(self):
|
||||||
spoofed_model = self.model
|
spoofed_model = self.model
|
||||||
# TODO: Set check as global variable
|
# TODO: Set check as global variable
|
||||||
|
|||||||
Reference in New Issue
Block a user