nudge
nudge copied to clipboard
Pause Refreshing Window when OS update is scheduled
Currently, if a user gets a Nudge to install an OS update and then they schedule that update for later via System Preferences they will continue to get Nudge prompts. Maybe we can have a separate key for refreshTimeWhenOSScheduled? Or something to that affect. Open to other ideas.
In order to do something like this, I need a reliable method (not parsing logs) to understand that the user has pressed this button. Another situation I'd like to not nudge is when the update is in the preparing stage but to date, no macadmin has given me a method that I could use.
If someone finds one, I'd be happy to implement this.
While this is only anecdotal so far, on both a Monterey, Ventura, and Sonoma systems that I asked to install the latest update this process was running during the download and "preparing" stage:
/System/Library/PrivateFrameworks/InstallCoordination.framework/Support/installcoordinationd
Will try the same test on a Big Sur machine when I can.
I have now created acceptableUpdatePreparingUsage and made it an optional.
This is because I have noticed that installcoordinationd does in fact trigger during the preparing phase, but I do not see this exiting once the update is fully prepared and ready for installation.
Logic added here: https://github.com/macadmins/nudge/commit/45362aef7a58dafb24374ceb3e1d29b87237d48f