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
+1
View File
@@ -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
View File
@@ -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