mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 13:50:00 +10:00
Increment Build
This commit is contained in:
+4
-1
@@ -1,9 +1,12 @@
|
|||||||
# OpenCore Legacy Patcher changelog
|
# OpenCore Legacy Patcher changelog
|
||||||
|
|
||||||
|
## 0.4.2
|
||||||
|
- Resolve app crashing on some 3rd party SAS/SATA controllers
|
||||||
|
|
||||||
## 0.4.1
|
## 0.4.1
|
||||||
- Add XHCI Boot Support to pre-UEFI 2.0 Macs
|
- Add XHCI Boot Support to pre-UEFI 2.0 Macs
|
||||||
- Applicable to pre-Ivy Macs with upgraded USB 3.0 controllers, allows USB 3.0 boot
|
- Applicable to pre-Ivy Macs with upgraded USB 3.0 controllers, allows USB 3.0 boot
|
||||||
- Credit to Jazzzny for research and testing
|
- Credit to Jazzzny for testing, [DearthnVader for original research](https://forums.macrumors.com/threads/bootable-xhci-pci-e-for-the-3-1-experimental.2217479/)
|
||||||
- Drivers stripped from MacPro6,1 firmware
|
- Drivers stripped from MacPro6,1 firmware
|
||||||
- Resolve OCLP-Helper dyld crash
|
- Resolve OCLP-Helper dyld crash
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ from data import os_data
|
|||||||
class Constants:
|
class Constants:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# Patcher Versioning
|
# Patcher Versioning
|
||||||
self.patcher_version = "0.4.1" # OpenCore-Legacy-Patcher
|
self.patcher_version = "0.4.2" # OpenCore-Legacy-Patcher
|
||||||
self.patcher_support_pkg_version = "0.2.9" # PatcherSupportPkg
|
self.patcher_support_pkg_version = "0.2.9" # PatcherSupportPkg
|
||||||
self.url_patcher_support_pkg = "https://github.com/dortania/PatcherSupportPkg/releases/download/"
|
self.url_patcher_support_pkg = "https://github.com/dortania/PatcherSupportPkg/releases/download/"
|
||||||
self.nightly_url_patcher_support_pkg = "https://nightly.link/dortania/PatcherSupportPkg/workflows/build/master/"
|
self.nightly_url_patcher_support_pkg = "https://nightly.link/dortania/PatcherSupportPkg/workflows/build/master/"
|
||||||
|
|||||||
@@ -50,7 +50,10 @@ class PCIDevice:
|
|||||||
|
|
||||||
device = cls(vendor_id, device_id, int.from_bytes(properties["class-code"][:6], byteorder="little"), name=ioreg.io_name_t_to_str(ioreg.IORegistryEntryGetName(entry, None)[1]))
|
device = cls(vendor_id, device_id, int.from_bytes(properties["class-code"][:6], byteorder="little"), name=ioreg.io_name_t_to_str(ioreg.IORegistryEntryGetName(entry, None)[1]))
|
||||||
if "model" in properties:
|
if "model" in properties:
|
||||||
device.model = properties["model"].strip(b"\0").decode()
|
model = properties["model"]
|
||||||
|
if type(model) is bytes:
|
||||||
|
model = model.strip(b"\0").decode()
|
||||||
|
device.model = model
|
||||||
if "acpi-path" in properties:
|
if "acpi-path" in properties:
|
||||||
device.acpi_path = properties["acpi-path"]
|
device.acpi_path = properties["acpi-path"]
|
||||||
device.populate_pci_path(entry)
|
device.populate_pci_path(entry)
|
||||||
|
|||||||
Reference in New Issue
Block a user