Strip Content Cache references

Setting no longer required with new RestrictEvents setup
This commit is contained in:
Mykola Grymalyuk
2023-06-13 08:38:00 -06:00
parent b92daff30e
commit b3f6607768
4 changed files with 4 additions and 15 deletions

View File

@@ -119,6 +119,9 @@ class BuildMiscellaneous:
re_patch_args = []
# Alternative approach to the kern.hv_vmm_present patch
# Dynamically sets the property to 1 if software update/installer is detected
# Always enabled in installers/recovery environments
if self.constants.allow_oc_everywhere is False and self.constants.serial_settings == "None":
re_patch_args.append("sbvmm")

View File

@@ -215,7 +215,6 @@ class Constants:
self.software_demux: bool = False # Enable Software Demux patch set
self.force_vmm: bool = False # Force VMM patch
self.disable_connectdrivers: bool = False # Disable ConnectDrivers (hibernation)
self.set_content_caching: bool = False # Set Content Caching
self.set_vmm_cpuid: bool = False # Set VMM bit inside CPUID
self.disable_cat_colorsync: bool = False # Disable the ColorSync patch to regain Display Profiles
self.set_alc_usage: bool = True # Set AppleALC usage

View File

@@ -56,11 +56,6 @@ class GenerateDefaults:
General probe for data
"""
if "Book" in self.model:
self.constants.set_content_caching = False
else:
self.constants.set_content_caching = True
if self.model in ["MacBookPro8,2", "MacBookPro8,3"]:
# Users disabling TS2 most likely have a faulty dGPU
# users can override this in settings

View File

@@ -275,14 +275,6 @@ class SettingsFrame(wx.Frame):
"wrap_around 2": {
"type": "wrap_around",
},
"Content Caching": {
"type": "checkbox",
"value": self.constants.set_content_caching,
"variable": "set_content_caching",
"description": [
# "Enable Content Caching.",
],
},
"APFS Trim": {
"type": "checkbox",
"value": self.constants.apfs_trim_timeout,
@@ -1275,4 +1267,4 @@ Hardware Information:
def on_test_exception(self, event: wx.Event) -> None:
raise Exception("Test Exception")
raise Exception("Test Exception")