mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-15 13:18:56 +10:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2a6d35c27 | ||
|
|
b3cc808e8d |
@@ -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
|
||||
|
||||
@@ -2842,7 +2842,7 @@
|
||||
<key>APFS</key>
|
||||
<dict>
|
||||
<key>EnableJumpstart</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>GlobalConnect</key>
|
||||
<false/>
|
||||
<key>HideVerbose</key>
|
||||
@@ -3056,6 +3056,18 @@
|
||||
<key>LoadEarly</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Comment</key>
|
||||
<string></string>
|
||||
<key>Path</key>
|
||||
<string>apfs_aligned.efi</string>
|
||||
<key>Enabled</key>
|
||||
<true/>
|
||||
<key>Arguments</key>
|
||||
<string></string>
|
||||
<key>LoadEarly</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</array>
|
||||
<key>Input</key>
|
||||
<dict>
|
||||
|
||||
BIN
payloads/Drivers/apfs_aligned.efi
Normal file
BIN
payloads/Drivers/apfs_aligned.efi
Normal file
Binary file not shown.
Reference in New Issue
Block a user