Increment Binaries

This commit is contained in:
Mykola Grymalyuk
2022-02-07 14:33:29 -07:00
parent cf4b2b2ad0
commit 31ff4bbd0d
13 changed files with 32 additions and 5 deletions

View File

@@ -1,6 +1,16 @@
# OpenCore Legacy Patcher changelog
## 0.4.3
- Increment Binaries:
- PatcherSupportPkg 0.3.2 - release
- OpenCorePkg 0.7.8 - release
- Lilu 1.6.0 - release
- WhateverGreen 1.5.7 - release
- Resolve many non-Metal issues:
- Control Centre Sliders
- Shift/missing icons
- Hardware Cursor
- Quicklook dismiss/expand
## 0.4.2
- Resolve app crashing on some 3rd party SAS/SATA controllers

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -15,7 +15,7 @@ class Constants:
def __init__(self):
# Patcher Versioning
self.patcher_version = "0.4.3" # OpenCore-Legacy-Patcher
self.patcher_support_pkg_version = "0.3.1" # PatcherSupportPkg
self.patcher_support_pkg_version = "0.3.2" # PatcherSupportPkg
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.discord_link = "https://discord.gg/rqdPgH8xSN"
@@ -26,14 +26,14 @@ class Constants:
# OpenCore Versioning
# https://github.com/acidanthera/OpenCorePkg
self.opencore_commit = "b530a29 - 01-11-2022"
self.opencore_version = "0.7.7"
self.opencore_commit = "30798fb - 02-07-2022"
self.opencore_version = "0.7.8"
# Kext Versioning
## Acidanthera
## https://github.com/acidanthera
self.lilu_version = "1.5.9" # Lilu
self.whatevergreen_version = "1.5.6" # WhateverGreen
self.lilu_version = "1.6.0" # Lilu
self.whatevergreen_version = "1.5.7" # WhateverGreen
self.airportbcrmfixup_version = "2.1.3" # AirPortBrcmFixup
self.nvmefix_version = "1.0.9" # NVMeFix
self.applealc_version = "1.6.3" # AppleALC

View File

@@ -153,6 +153,9 @@ class NVMeController(PCIDevice):
aspm: Optional[int] = None
# parent_aspm: Optional[int] = None
@dataclass
class EthernetController(PCIDevice):
CLASS_CODE: ClassVar[int] = 0x020000
@dataclass
class SATAController(PCIDevice):
@@ -359,6 +362,7 @@ class Computer:
dgpu: Optional[GPU] = None # Shortcut for GFX0
storage: list[PCIDevice] = field(default_factory=list)
usb_controllers: list[PCIDevice] = field(default_factory=list)
ethernet: list[PCIDevice] = field(default_factory=list)
wifi: Optional[WirelessCard] = None
cpu: Optional[CPU] = None
oclp_version: Optional[str] = None
@@ -375,6 +379,7 @@ class Computer:
computer.wifi_probe()
computer.storage_probe()
computer.usb_controller_probe()
computer.ethernet_probe()
computer.smbios_probe()
computer.cpu_probe()
computer.bluetooth_probe()
@@ -476,6 +481,18 @@ class Computer:
for device in uhci_controllers:
self.usb_controllers.append(UHCIController.from_ioregistry(device))
ioreg.IOObjectRelease(device)
def ethernet_probe(self):
ethernet_controllers = ioreg.ioiterator_to_list(
ioreg.IOServiceGetMatchingServices(
ioreg.kIOMasterPortDefault,
{"IOProviderClass": "IOPCIDevice", "IOPropertyMatch": [{"class-code": binascii.a2b_hex(utilities.hexswap(hex(EthernetController.CLASS_CODE)[2:].zfill(8)))}]},
None,
)[1]
)
for device in ethernet_controllers:
self.ethernet.append(EthernetController.from_ioregistry(device))
ioreg.IOObjectRelease(device)
def storage_probe(self):