Skip to content

Commit 4e186a8

Browse files
authored
Merge pull request #1 from hackdoc/macos-next
Macos next
2 parents 16888d8 + 993413c commit 4e186a8

File tree

12 files changed

+34
-169
lines changed

12 files changed

+34
-169
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ 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.9.9pre1/Universal-Binaries.dmg"
32+
aria2c -x 16 "https://github.com/hackdoc/PatcherSupportPkg/releases/download/1.9.9pre2/Universal-Binaries.dmg"
3333
3434
- name: Force Universal2 charset for Python
3535
run: |

.github/workflows/build-self.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip install -r requirements.txt
2626
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip install packaging
2727
rm -rf Univ*
28-
aria2c -x 16 "https://github.com/hackdoc/PatcherSupportPkg/releases/download/1.9.9pre1/Universal-Binaries.dmg"
28+
aria2c -x 16 "https://github.com/hackdoc/PatcherSupportPkg/releases/download/1.9.9pre2/Universal-Binaries.dmg"
2929
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 OCLP-R-GUI.command --validate

oclp_r/support/kdk_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
KDK_INSTALL_PATH: str = "/Library/Developer/KDKs"
2626
KDK_INFO_PLIST: str = "KDKInfo.plist"
27-
KDK_API_LINK_ORG: str = "https://dortania.github.io/KdkSupportPkg/manifest.json"
27+
KDK_API_LINK_ORG: str = "https://pyquick.github.io/KdkSupportPkg/manifest.json"
2828
KDK_API_LINK_PROXY:str = "https://oclpapi.simplehac.cn/KdkSupportPkg/manifest.json"
2929
KDK_ASSET_LIST: list = None
3030

oclp_r/support/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def _validate_sys_patch(self) -> None:
233233

234234
atexit.register(self._unmount_dmg)
235235

236-
for supported_os in [os_data.os_data.big_sur, os_data.os_data.monterey, os_data.os_data.ventura, os_data.os_data.sonoma, os_data.os_data.sequoia]:
236+
for supported_os in [os_data.os_data.big_sur, os_data.os_data.monterey, os_data.os_data.ventura, os_data.os_data.sonoma, os_data.os_data.sequoia, os_data.os_data.tahoe]:
237237
for i in range(0, 10):
238238
self._validate_root_patch_files(supported_os, i)
239239

oclp_r/sys_patch/patchsets/detect.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
t1_security,
4949
cpu_missing_avx,
5050
voodoo_audio,
51-
whatevergreen,
51+
5252
)
5353

5454
from ... import constants
@@ -130,7 +130,6 @@ def __init__(self, constants: constants.Constants,
130130

131131
legacy_wireless.LegacyWireless,
132132
modern_wireless.ModernWireless,
133-
whatevergreen.WEG,
134133
legacy_audio.LegacyAudio,
135134
modern_audio.ModernAudio,
136135
voodoo_audio.VoodooAudio,

oclp_r/sys_patch/patchsets/hardware/misc/modern_audio.py

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ def present(self) -> bool:
3131
AppleHDA was outright removed in macOS 26, so this patch set is always present if OS requires it
3232
"""
3333

34-
return self._constants.audio_type=="AppleHDA" and utilities.check_kext_loaded("as.vit9696.AppleALC") !=""
35-
36-
34+
return self._constants.audio_type=="AppleHDA" and utilities.check_kext_loaded("as.vit9696.AppleALC") !="" and utilities.check_kext_loaded("org.voodoo.driver.VoodooHDA") ==""
35+
def requires_kernel_debug_kit(self) -> bool:
36+
"""
37+
Apple no longer provides standalone kexts in the base OS
38+
"""
39+
return True
3740
def native_os(self) -> bool:
3841
"""
3942
- Everything before macOS Tahoe 26 is considered native
@@ -61,20 +64,6 @@ def _modern_audio_patches(self) -> dict:
6164
"""
6265
return {
6366
"Modern Audio": {
64-
PatchType.REMOVE_SYSTEM_VOLUME: {
65-
"/System/Library/Extensions":[
66-
"VoodooHDA.kext",
67-
],
68-
"/Library/Extensions":[
69-
"VoodooHDA.kext",
70-
],
71-
"/Library/PreferencePanes":[
72-
"VoodooHDA.prefPane",
73-
],
74-
"/System/Library/PreferencePanes":[
75-
"VoodooHDA.prefPane",
76-
],
77-
},
7867
PatchType.OVERWRITE_SYSTEM_VOLUME: {
7968
"/System/Library/Extensions": {
8069
"AppleHDA.kext": "26.0 Beta 1",

oclp_r/sys_patch/patchsets/hardware/misc/voodoo_audio.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def name(self) -> str:
2020

2121

2222
def present(self) -> bool:
23-
return self._constants.audio_type=="VoodooHDA" and utilities.check_kext_loaded("as.vit9696.AppleALC") ==""
23+
return self._constants.audio_type=="VoodooHDA" and utilities.check_kext_loaded("as.vit9696.AppleALC") =="" and utilities.check_kext_loaded("org.voodoo.driver.VoodooHDA")==""
2424

2525

2626
def native_os(self) -> bool:
@@ -43,9 +43,6 @@ def _voodoo_audio_patches(self) -> dict:
4343
if self._xnu_major >= os_data.tahoe and self._os_build != "25A5279m":
4444
return {
4545
"Voodoo Audio": {
46-
PatchType.REMOVE_SYSTEM_VOLUME:[
47-
"AppleHDA.kext",
48-
],
4946
PatchType.OVERWRITE_SYSTEM_VOLUME: {
5047
"/Library/Extensions": {
5148
"VoodooHDA.kext":"11.3",
@@ -59,9 +56,6 @@ def _voodoo_audio_patches(self) -> dict:
5956
else:
6057
return {
6158
"Voodoo Audio": {
62-
PatchType.REMOVE_SYSTEM_VOLUME:[
63-
"AppleHDA.kext",
64-
],
6559
PatchType.OVERWRITE_SYSTEM_VOLUME: {
6660
"/Library/Extensions": {
6761
"VoodooHDA.kext":"11.3",

oclp_r/sys_patch/patchsets/hardware/misc/whatevergreen.py

Lines changed: 0 additions & 75 deletions
This file was deleted.

oclp_r/wx_gui/gui_kdk_dl.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
utilities,
1818
network_handler,
1919
)
20-
KDK_API_LINK_ORIGIN:str = "https://dortania.github.io/KdkSupportPkg/manifest.json"
20+
KDK_API_LINK_ORIGIN:str = "https://pyquick.github.io/KdkSupportPkg/manifest.json"
2121
KDK_API_LINK_PROXY:str = "https://oclpapi.simplehac.cn/KdkSupportPkg/manifest.json"
2222
class KDKDownloadFrame(wx.Frame):
2323
def __init__(self, parent: wx.Frame, title: str, global_constants: constants.Constants,screen_location: tuple = None):
@@ -69,7 +69,6 @@ def _fetch_installers():
6969
kdk_data_build=[]
7070
maxnx=[]
7171
for i in range(len(self.kdk_data)):
72-
self.kdk_data[i].pop("kernel_versions")
7372
self.kdk_data[i]['seen']=((self.kdk_data[i]['seen']).split("T"))[0]
7473
if self.constants.github_proxy_link!="SimpleHac" and self.constants.github_proxy_link!="Default":
7574
self.kdk_data[i]['url']=self.kdk_data[i]['url'].replace("https://gitapi.simplehac.top/","")

0 commit comments

Comments
 (0)