mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
Avoid 3.10 type hinting
This commit is contained in:
@@ -5,6 +5,8 @@ import plistlib
|
||||
import os
|
||||
import logging
|
||||
import subprocess
|
||||
|
||||
from typing import Union
|
||||
from pathlib import Path
|
||||
from datetime import datetime
|
||||
|
||||
@@ -213,7 +215,7 @@ class SysPatchHelpers:
|
||||
logging.info(f" - Failed to install RSRRepair: {result.stdout.decode()}")
|
||||
|
||||
|
||||
def patch_gpu_compiler_libraries(self, mount_point: str | Path):
|
||||
def patch_gpu_compiler_libraries(self, mount_point: Union[str, Path]):
|
||||
"""
|
||||
Fix GPUCompiler.framework's libraries to resolve linking issues
|
||||
|
||||
|
||||
Reference in New Issue
Block a user