mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-15 03:46:28 +10:00
misc.py: Strip media argument
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
## 0.6.7
|
||||
- Resolve partition buttons overlapping in Install OpenCore UI
|
||||
- ex. "EFI" and additional FAT32 partitions on a single drive
|
||||
- Re-enable mediaanalysisd on Ventura
|
||||
- Allows for Live Text support on systems with3802 GPUs
|
||||
- ie. Intel Ivy Bridge and Haswell, Nvidia Kepler
|
||||
- Previously disabled due to high instability in Photos with Face Scanning, now resolved
|
||||
- Backend changes:
|
||||
- Call `setpgrp()` to prevent app from being killed if parent process is killed (ie. LaunchAgents)
|
||||
- Resolve payloads path being mis-routed during CLI calls
|
||||
|
||||
@@ -106,23 +106,6 @@ class BuildMiscellaneous:
|
||||
logging.info("- Disabling memory error reporting")
|
||||
re_block_args.append("pcie")
|
||||
|
||||
# Resolve mediaanalysisd crashing on 3802 GPUs
|
||||
gpu_dict = [] if self.constants.custom_model else self.constants.computer.gpus
|
||||
if gpu_dict == []:
|
||||
gpu_dict = smbios_data.smbios_dictionary[self.model]["Stock GPUs"] if self.model in smbios_data.smbios_dictionary else []
|
||||
|
||||
for gpu in gpu_dict:
|
||||
if not self.constants.custom_model:
|
||||
gpu = gpu.arch
|
||||
if gpu in [
|
||||
device_probe.Intel.Archs.Ivy_Bridge,
|
||||
device_probe.Intel.Archs.Haswell,
|
||||
device_probe.NVIDIA.Archs.Kepler,
|
||||
]:
|
||||
logging.info("- Disabling mediaanalysisd")
|
||||
re_block_args.append("media")
|
||||
break
|
||||
|
||||
return re_block_args
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user