Skip to content

Commit 88b43d4

Browse files
committed
change wireless showing
- You may repatch
1 parent d17f299 commit 88b43d4

File tree

5 files changed

+14
-54
lines changed

5 files changed

+14
-54
lines changed

.github/workflows/build-app-wxpython.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929
rm -rf *pay*.dmg
3030
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip install -r requirements.txt
3131
32-
aria2c -x 16 "https://github.com/hackdoc/PatcherSupportPkg/releases/download/1.10.1/Universal-Binaries.dmg"
33-
3432
- name: Force Universal2 charset for Python
3533
run: |
3634
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip uninstall -y charset_normalizer
@@ -69,8 +67,8 @@ jobs:
6967
uses: softprops/action-gh-release@v2
7068
with:
7169
#tag_name: push-${{ github.sha }}
72-
tag_name: 3.0.0Pre
73-
name: 3.0.0 Tahoe Test Version
70+
tag_name: 3.0.1
71+
name: 3.0.1 Tahoe Test
7472
body: ${{ github.event.head_commit.message }}
7573
prerelease: true
7674
files: |

.github/workflows/validate.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
name: CI - Validation
2-
32
on:
43
push:
54
paths-ignore:
65
- 'docs/**'
76
workflow_dispatch:
87
release:
98
types: [published]
10-
#/usr/local/aria2/bin/
119
jobs:
1210
build:
1311
name: Validate
@@ -24,6 +22,4 @@ jobs:
2422
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip install --upgrade pip
2523
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip install -r requirements.txt
2624
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip install packaging
27-
rm -rf Univ*
28-
aria2c -x 16 "https://github.com/hackdoc/PatcherSupportPkg/releases/download/1.10.1/Universal-Binaries.dmg"
2925
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 OCLP-R-GUI.command --validate

oclp_r/constants.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def __init__(self) -> None:
1717
self.metallib_api_link: str = ""
1818

1919
# Patcher Versioning
20-
self.patcher_version: str = "3.0.0" # OCLP-R
21-
self.patcher_support_pkg_version: str = "1.10.1-pre" # PatcherSupportPkg
20+
self.patcher_version: str = "3.0.1" # OCLP-R
21+
self.patcher_support_pkg_version: str = "1.11.0" # PatcherSupportPkg
2222
self.copyright_date: str = "Copyright © 2020-2025 Dortania and Hackdoc"
2323
self.patcher_name: str = "OCLP-R"
2424

@@ -129,7 +129,7 @@ def __init__(self) -> None:
129129
## flagersgit
130130
## https://github.com/flagersgit/KDKlessWorkaround
131131
self.kdkless_version: str = "1.0.0"
132-
self.audio_type : str ="AppleHDA"#AppleALC || VoodooHDA
132+
133133
## Jazzzny
134134
self.legacy_keyboard: str = "1.0.0" # LegacyKeyboardInjector - Jazzzny
135135

@@ -141,6 +141,7 @@ def __init__(self) -> None:
141141

142142
# Patcher Settings
143143
## Internal settings
144+
self.audio_type : str ="AppleHDA"
144145
self.change_control_center: bool = False
145146
self.allow_oc_everywhere: bool = False # Set whether Patcher can be run on unsupported Macs
146147
self.gui_mode: bool = False # Determine whether running in a GUI or TUI

oclp_r/sys_patch/patchsets/detect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class HardwarePatchsetValidation(StrEnum):
9797
NVDA_DRV_MISSING = "Validation: nvda_drv(_vrl) variable missing"
9898
PATCHING_NOT_POSSIBLE = "Validation: Patching not possible"
9999
UNPATCHING_NOT_POSSIBLE = "Validation: Unpatching not possible"
100-
REPATCHING_NOT_SUPPORTED = "Validation: Root volume dirty, unpatch to continue"
100+
REPATCHING_NOT_SUPPORTED = "Validation: Root volume dirty"
101101

102102

103103
class HardwarePatchsetDetection:

oclp_r/sys_patch/patchsets/hardware/networking/modern_wireless.py

Lines changed: 7 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def present(self) -> bool:
2828
self._computer.wifi.chipset in [
2929
device_probe.Broadcom.Chipsets.AirPortBrcm4360,
3030
device_probe.Broadcom.Chipsets.AirportBrcmNIC,
31-
# We don't officially support this chipset, however we'll throw a bone to hackintosh users
3231
device_probe.Broadcom.Chipsets.AirPortBrcmNICThirdParty,
3332
]
3433
) or isinstance(self._computer.wifi, device_probe.IntelWirelessCard) and (
@@ -42,62 +41,35 @@ def native_os(self) -> bool:
4241
Dropped support with macOS 14, Sonoma
4342
"""
4443
return self._xnu_major < os_data.sonoma.value
45-
46-
def extended_os(self) -> bool:
47-
"""
48-
Extended support with macOS 14, Sonoma
49-
"""
50-
return self._xnu_major == os_data.sonoma.value
51-
44+
5245
def hardware_variant(self) -> HardwareVariant:
5346
"""
5447
Type of hardware variant
5548
"""
5649
return HardwareVariant.NETWORKING
5750

58-
def _patches_modern_wireless_sonoma(self) -> dict:
59-
"""
60-
Extended modern wireless patches
61-
"""
62-
if self.native_os() is True or self.extended_os() is False:
63-
return {}
64-
65-
return {
66-
"Modern Wireless Extended": {
67-
PatchType.OVERWRITE_SYSTEM_VOLUME: {
68-
"/usr/libexec": {
69-
"airportd": f"13.7.2-{self._xnu_major}",
70-
},
71-
},
72-
PatchType.MERGE_SYSTEM_VOLUME: {
73-
"/System/Library/Frameworks": {
74-
"CoreWLAN.framework": f"13.7.2-{self._xnu_major}",
75-
},
76-
"/System/Library/PrivateFrameworks": {
77-
"CoreWiFi.framework": f"13.7.2-{self._xnu_major}",
78-
},
79-
},
80-
},
81-
}
82-
8351
def _patches_modern_wireless(self) -> dict:
8452
"""
8553
Common modern wireless patches
8654
"""
8755
if self.native_os() is True:
8856
return {}
89-
9057
return {
91-
"Modern Wireless Common": {
58+
"Modern Wireless": {
9259
PatchType.OVERWRITE_SYSTEM_VOLUME: {
9360
"/usr/libexec": {
9461
"wifip2pd": f"13.7.2-{self._xnu_major}",
62+
**({ "airportd": f"13.7.2-{self._xnu_major}" } if self._xnu_major == os_data.sonoma else {}),
9563
},
9664
},
9765
PatchType.MERGE_SYSTEM_VOLUME: {
9866
"/System/Library/PrivateFrameworks": {
9967
"IO80211.framework": f"13.7.2-{self._xnu_major}",
10068
"WiFiPeerToPeer.framework": f"13.7.2-{self._xnu_major}",
69+
**({ "CoreWiFi.framework": f"13.7.2-{self._xnu_major}" } if self._xnu_major == os_data.sonoma else {}),
70+
},
71+
"/System/Library/Frameworks": {
72+
**({ "CoreWLAN.framework": f"13.7.2-{self._xnu_major}" } if self._xnu_major == os_data.sonoma else {}),
10173
},
10274
},
10375
},
@@ -107,14 +79,7 @@ def patches(self) -> dict:
10779
"""
10880
Dictionary of patches
10981
"""
110-
11182
_base = {
11283
**self._patches_modern_wireless(),
11384
}
114-
115-
if self._xnu_major == os_data.sonoma.value:
116-
_base.update({
117-
**self._patches_modern_wireless_sonoma(),
118-
})
119-
12085
return _base

0 commit comments

Comments
 (0)