mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
sys_patch_helpers.py: Add fallback
This commit is contained in:
@@ -262,6 +262,10 @@ class SysPatchHelpers:
|
|||||||
return
|
return
|
||||||
BASE_VERSION = "32023"
|
BASE_VERSION = "32023"
|
||||||
GPU_VERSION = f"{BASE_VERSION}.26"
|
GPU_VERSION = f"{BASE_VERSION}.26"
|
||||||
|
else:
|
||||||
|
# Fall back for newer versions
|
||||||
|
BASE_VERSION = "32023"
|
||||||
|
GPU_VERSION = f"{BASE_VERSION}.26"
|
||||||
|
|
||||||
LIBRARY_DIR = f"{mount_point}/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/{BASE_VERSION}/Libraries/lib/clang"
|
LIBRARY_DIR = f"{mount_point}/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/{BASE_VERSION}/Libraries/lib/clang"
|
||||||
DEST_DIR = f"{LIBRARY_DIR}/{GPU_VERSION}"
|
DEST_DIR = f"{LIBRARY_DIR}/{GPU_VERSION}"
|
||||||
|
|||||||
Reference in New Issue
Block a user