@@ -224,7 +224,7 @@ def _rebuild_root_volume(self) -> bool:
224224
225225 if self ._create_new_apfs_snapshot () is False :
226226 return False
227-
227+ self . load_launchpad ()
228228 self ._unmount_root_vol ()
229229
230230 logging .info ("- Patching complete" )
@@ -353,7 +353,7 @@ def _patch_root_vol(self):
353353 InstallAutomaticPatchingServices (self .constants ).install_auto_patcher_launch_agent (kdk_caching_needed = needs_daemon )
354354
355355 self ._rebuild_root_volume ()
356- self . load_launchpad ()
356+
357357
358358
359359 def _execute_patchset (self , required_patches : dict ):
@@ -583,11 +583,11 @@ def start_patch(self):
583583
584584 def load_launchpad (self ):
585585 if self .constants .change_launchpad is True :
586- logging .info ("- LaunchPad patching enabled, run command...... " )
586+ logging .info ("- LaunchPad patching enabled, runing command" )
587587 subprocess .run ("mkdir -p /Library/Preferences/FeatureFlags/Domain" ,capture_output = True ,text = True ,shell = True )
588588 subprocess .run ("defaults write /Library/Preferences/FeatureFlags/Domain/SpotlightUI.plist SpotlightPlus -dict Enabled -bool false" ,capture_output = True ,text = True ,shell = True )
589589 else :
590- logging .info ("- LaunchPad patching disabled,skip...... " )
590+ logging .info ("- LaunchPad patching disabled, skiping " )
591591 subprocess .run ("mkdir -p /Library/Preferences/FeatureFlags/Domain" ,capture_output = True ,text = True ,shell = True )
592592 subprocess .run ("defaults write /Library/Preferences/FeatureFlags/Domain/SpotlightUI.plist SpotlightPlus -dict Enabled -bool true" ,capture_output = True ,text = True ,shell = True )
593593 def start_unpatch (self ) -> None :
0 commit comments