Add support for KDK caching

This commit is contained in:
Mykola Grymalyuk
2023-11-01 21:55:29 -06:00
parent 4196a7b5f2
commit 55801e80bd
9 changed files with 306 additions and 26 deletions

View File

@@ -648,7 +648,10 @@ class PatchSysVolume:
self._execute_patchset(sys_patch_generate.GenerateRootPatchSets(self.computer.real_model, self.constants, self.hardware_details).patchset)
if self.constants.wxpython_variant is True and self.constants.detected_os >= os_data.os_data.big_sur:
sys_patch_auto.AutomaticSysPatch(self.constants).install_auto_patcher_launch_agent()
needs_daemon = False
if self.constants.detected_os >= os_data.os_data.ventura and self.skip_root_kmutil_requirement is False:
needs_daemon = True
sys_patch_auto.AutomaticSysPatch(self.constants).install_auto_patcher_launch_agent(kdk_caching_needed=needs_daemon)
self._rebuild_root_volume()