Skip to content

Commit d7eadbd

Browse files
[modern_wireless] Commit new modern wireless patchset
macOS Sequoia and Tahoe use a more slimmed down patchset compared to before and macOS Sonoma.
1 parent 2cd692e commit d7eadbd

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,16 @@ def patches(self) -> dict:
6464
"Modern Wireless": {
6565
PatchType.OVERWRITE_SYSTEM_VOLUME: {
6666
"/usr/libexec": {
67-
"airportd": f"13.7.2-{self._xnu_major}",
67+
**({ "airportd": f"13.7.2-{self._xnu_major}" } if self._xnu_major == os_data.sonoma else {}),
6868
"wifip2pd": f"13.7.2-{self._xnu_major}",
6969
},
70-
"/System/Library/CoreServices": {
71-
**({ "WiFiAgent.app": "14.7.2" } if self._xnu_major >= os_data.sequoia else {}),
72-
},
7370
},
7471
PatchType.MERGE_SYSTEM_VOLUME: {
7572
"/System/Library/Frameworks": {
76-
"CoreWLAN.framework": f"13.7.2-{self._xnu_major}",
73+
**({ "CoreWLAN.framework": f"13.7.2-{self._xnu_major}" } if self._xnu_major == os_data.sonoma else {}),
7774
},
7875
"/System/Library/PrivateFrameworks": {
79-
"CoreWiFi.framework": f"13.7.2-{self._xnu_major}",
76+
**({ "CoreWiFi.framework": f"13.7.2-{self._xnu_major}" } if self._xnu_major == os_data.sonoma else {}),
8077
"IO80211.framework": f"13.7.2-{self._xnu_major}",
8178
"WiFiPeerToPeer.framework": f"13.7.2-{self._xnu_major}",
8279
},

0 commit comments

Comments
 (0)