mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-11 16:27:19 +10:00
Fix last
This commit is contained in:
@@ -354,6 +354,10 @@ class Constants:
|
||||
def link_rate_driver_path(self):
|
||||
return self.payload_path / Path("Drivers/FixPCIeLinkRate.efi")
|
||||
|
||||
@property
|
||||
def apfs_driver_path(self):
|
||||
return self.payload_path / Path("Drivers/apfs_aligned.efi")
|
||||
|
||||
@property
|
||||
def installer_sh_path(self):
|
||||
return self.payload_path / Path("Installer.sh")
|
||||
|
||||
@@ -355,6 +355,7 @@ xw
|
||||
|
||||
logging.info("- Adding OpenCanopy GUI")
|
||||
shutil.copy(self.constants.gui_path, self.constants.oc_folder)
|
||||
shutil.copy(self.constants.apfs_driver_path, self.constants.drivers_path)
|
||||
support.BuildSupport(self.model, self.constants, self.config).get_efi_binary_by_path("OpenCanopy.efi", "UEFI", "Drivers")["Enabled"] = True
|
||||
support.BuildSupport(self.model, self.constants, self.config).get_efi_binary_by_path("OpenRuntime.efi", "UEFI", "Drivers")["Enabled"] = True
|
||||
support.BuildSupport(self.model, self.constants, self.config).get_efi_binary_by_path("OpenLinuxBoot.efi", "UEFI", "Drivers")["Enabled"] = True
|
||||
|
||||
Reference in New Issue
Block a user