Skip to content

Commit fe1585a

Browse files
committed
change self.load_launchpad()
1 parent fcc69e5 commit fe1585a

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

.github/workflows/build-app-wxpython.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ jobs:
6868
if: github.event_name == 'push'
6969
uses: softprops/action-gh-release@v2
7070
with:
71-
tag_name: push-${{ github.sha }}
71+
#tag_name: push-${{ github.sha }}
72+
tag_name: 3.0.0Pre
7273
name: 3.0.0 Tahoe Test Version
7374
body: ${{ github.event.head_commit.message }}
7475
prerelease: true

oclp_r/sys_patch/sys_patch.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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:

test.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)